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