Tulir Asokan
ba4dd48d5a
gotd: ensure user is member of channels before starting getDifference loop
2025-12-12 15:45:39 +02:00
Tulir Asokan
d5f87d2ec1
all: add support for topics and refactor other things
2025-12-06 15:27:51 +02:00
Tulir Asokan
ef23946cbc
store: remove redundant index
2025-12-05 23:45:41 +02:00
Tulir Asokan
6232a27881
startchat: don't allow starting chat without access hash
2025-12-04 16:13:04 +02:00
Tulir Asokan
2004085312
connector: fix import ordering
2025-12-03 17:11:20 +02:00
Tulir Asokan
34683e6d1b
handletelegram: fix disabling disappearing timer
2025-09-13 01:39:45 +03:00
Tulir Asokan
0051042555
database: migrate disappearing timer to standard location ( #121 )
2025-09-12 18:35:09 +03:00
Adam Van Ymeren
10bc44d17d
scoped_store: Fix user access hash fetching
2025-07-04 15:03:59 -07:00
Adam Van Ymeren
399cd5585a
ScopedStore: fix GetAccessHash always returning found: false
2025-07-02 14:10:50 -07:00
Adam Van Ymeren
7a04f298d2
move gotd fork into repo. ( #111 )
...
- update to latest telegram layer
- remove some references to fields in tg.Entities that don't exist in
the schema
- originally added here:
https://github.com/beeper/td/commit/820929062a2ba0104397bc01235ab58a9cff780e
- referenced here
-
https://github.com/mautrix/telegramgo/commit/124f0967ed195b5a380c9bd02e170ada9710dde3
-
https://github.com/mautrix/telegramgo/commit/4205047aab2e0639217148b5d125bfaab668bd8e
2025-06-27 20:03:37 -07:00
Sumner Evans
854f66cb04
store: make finding by username case-insensitive
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2025-03-05 18:17:30 -07:00
Sumner Evans
1bc3a2538e
treewide: add copyright/license notices
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2025-03-05 10:16:50 -07:00
Sumner Evans
73d0b189bb
scoped store: implement new AccessHasher interface
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-10-11 08:52:26 -06:00
Sumner Evans
48059a3a51
logout: delete user-specific state
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-10-10 10:07:26 -06:00
Sumner Evans
31397681f5
client: save channel usernames in database
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-09-26 14:01:09 -06:00
Sumner Evans
c6e96682b6
treewide: separate user and channel namespaces
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-09-25 07:16:05 -06:00
Sumner Evans
088900aee1
connector: save channel access hashes in more places
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-09-02 11:52:31 -06:00
Sumner Evans
196eaac917
snc: use local caches for resolving identifiers
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-08-22 13:47:55 -06:00
Sumner Evans
15b0dc51b3
snc: implement resolving Telegram IDs, usernames, and phone numbers
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-08-22 12:18:21 -06:00
Tulir Asokan
b25c09fc53
store: refactor access hash and session tables
...
* Move sessions to user_login metadata, as that data rarely changes after login.
* Merge user and channel access hashes. Those IDs don't conflict.
* Split usernames into a new table to allow better `ON CONFLICT` updates
(when a username moves to another entity, we want the old row to be replaced).
Usernames also don't need to be scoped to a login.
2024-08-22 17:54:10 +03:00
Tulir Asokan
e611c87342
all: add some todos and fix small issues
2024-08-22 17:53:50 +03:00
Sumner Evans
d11af1a463
db: fix latest revision
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-08-20 14:12:42 -06:00
Sumner Evans
838f291220
store: move the access_hash and username to separate per-user table
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-08-08 12:12:17 -06:00
Sumner Evans
f56f520308
(telegram|matrix)fmt: mention formatting
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-08-05 15:19:53 -06:00
Sumner Evans
34832c7ff7
channels: handle messages Matrix <-> TG
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-07-15 15:23:50 -06:00
Sumner Evans
a63f264804
reactions: support custom emojis
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-07-09 14:04:25 -06:00
Sumner Evans
0921168b91
pkg/store -> pkg/connector/store
...
Signed-off-by: Sumner Evans <sumner.evans@automattic.com >
2024-07-08 08:47:30 -06:00