Commit graph

207 commits

Author SHA1 Message Date
Bohdan Horbeshko
4fb3886aab Fix some MAM bugs 2025-08-15 04:31:27 -04:00
Bohdan Horbeshko
12ac2fb5dd MAM support in MUCs 2025-08-12 17:29:13 -04:00
Bohdan Horbeshko
47179e9c77 Move to new MUC on upgrading basic group to supergroup 2025-07-31 12:51:25 -04:00
Bohdan Horbeshko
ca75d38169 Occupants LRU: cached reverse id-by-nickname lookups 2025-07-31 10:10:27 -04:00
Bohdan Horbeshko
3a18e9dc80 Occupants LRU refactoring: key -> id 2025-07-31 10:07:23 -04:00
Bohdan Horbeshko
0e8d34aafa Validate MUC nicknames via resourceprep 2025-07-30 12:59:13 -04:00
Bohdan Horbeshko
5ec8eab64b Send 170 status code when joining supergroups (assuming they are public and basic groups are not) 2025-07-25 17:21:38 -04:00
Bohdan Horbeshko
b1a67f6f4e Join/leave a temporary occupant for edit messages with an unrecognized nickname too 2025-07-25 16:30:46 -04:00
Bohdan Horbeshko
cb6eaef16f Fix crash on bumping non-existent occupant 2025-07-25 08:22:38 -04:00
Bohdan Horbeshko
f9be86b5db Bump MUC occupants and send unavailable presences for ones removed from LRU 2025-07-24 12:34:05 -04:00
Bohdan Horbeshko
f3eeba7273 Upgrade MUC occupants map to LRU 2025-07-23 17:03:19 -04:00
Bohdan Horbeshko
e2c5c78882 Fix crash when joining an inaccessible group 2025-07-22 14:34:18 -04:00
Bohdan Horbeshko
a52bede7f9 Call OpenChat/CloseChat on MUC join/leave to achieve receiving supergroup updates 2025-07-22 14:25:29 -04:00
Bohdan Horbeshko
422ac9dea6 Support retrieving chat administrators/owner in supergroups 2025-07-22 13:53:19 -04:00
Bohdan Horbeshko
10fc1d26ef Enable MUC support for supergroups 2025-07-22 13:51:55 -04:00
Bohdan Horbeshko
9ee13bf582 Send service messages to connected full JIDs rather than one bare JID wherever possible 2025-07-20 14:46:58 -04:00
Bohdan Horbeshko
b959f91a60 Transform mentions into MUC nicknames in incoming messages 2025-07-13 05:43:59 -04:00
Bohdan Horbeshko
29e66a21d7 Send announcement messages from a temporary MUC occupant && fix edit/delete message regression for non-MUCs 2025-07-06 23:11:54 -04:00
Bohdan Horbeshko
b5129906e3 Invite to MUC when added to it 2025-07-06 20:44:26 -04:00
Bohdan Horbeshko
19d602a99b Assure all MUC presences are sent to a full JID 2025-07-06 14:43:03 -04:00
Bohdan Horbeshko
f5a6cbf199 Fix ID-less occupant nickname when missing from group members list 2025-07-05 13:57:27 -04:00
Bohdan Horbeshko
3b01b1de70 Support /history command in MUCs 2025-07-05 12:43:38 -04:00
Bohdan Horbeshko
5c4c722cdc Ping back outgoing commands in MUCs 2025-07-04 16:08:11 -04:00
Bohdan Horbeshko
d6582a888f Add MUC-to-legacy migrator 2025-07-03 13:48:37 -04:00
Bohdan Horbeshko
65cc9b1551 Kick from MUCs instead of unsubscribing in commands 2025-07-03 13:47:22 -04:00
Bohdan Horbeshko
9721e60b0a Send a MUC invitation when a new group is created 2025-07-02 12:55:58 -04:00
Bohdan Horbeshko
2b5bb43bdd Send an invite to MUC on /add wherever applicable 2025-07-01 16:01:43 -04:00
Bohdan Horbeshko
d665dbdcc4 Fix command responses in MUCs 2025-07-01 15:35:34 -04:00
Bohdan Horbeshko
35ec6d44cd Adapt avatar hash updates for MUCs 2025-06-30 20:48:30 -04:00
Bohdan Horbeshko
4b2ae50f67 Allow listing MUC owners 2025-06-30 10:44:54 -04:00
Bohdan Horbeshko
a01e864d71 Advertise MUC avatars via XEP-0486 2025-06-29 17:01:16 -04:00
Bohdan Horbeshko
d5c1d6ff2a Return 403 on join if banned from a group 2025-06-28 07:49:04 -04:00
Bohdan Horbeshko
6d24823bb3 Assure all MUC presences have affiliation/role/realJID 2025-06-25 13:14:54 -04:00
Bohdan Horbeshko
0b1e204912 Process MUC deletion 2025-06-22 10:37:20 -04:00
Bohdan Horbeshko
f18fded3e9 Room configuration form 2025-06-18 01:46:53 -04:00
Bohdan Horbeshko
06a6682bfa Make members visitors if message sending is restricted for all in a chat 2025-06-17 02:00:42 -04:00
Bohdan Horbeshko
67c960da25 Terminology clarification (member -> occupant wherever applicable) 2025-06-15 23:21:42 -04:00
Bohdan Horbeshko
b1ecfc29cd Support bulk muc#admin operations on occupantsu 2025-06-15 21:36:03 -04:00
Bohdan Horbeshko
cff81d227c Extract new MUC members from join messages 2025-06-15 08:37:37 -04:00
Bohdan Horbeshko
8ce5c8373f Process basic group member list updates 2025-06-15 05:16:58 -04:00
Bohdan Horbeshko
9ed3a8b875 Why clog the code with uhOh, it panics anyway 2025-06-14 14:34:51 -04:00
Bohdan Horbeshko
ebdf180ce5 Reflect MUC member affiliation/role changes in Telegram 2025-06-14 13:20:02 -04:00
Bohdan Horbeshko
26eafbba3d Merge fix 2025-06-14 11:21:39 -04:00
Bohdan Horbeshko
1811f7622a Merge branch 'master' into muc 2025-06-07 18:05:08 -04:00
Bohdan Horbeshko
3fd49923a1 Safety limit for avatars 2025-06-07 18:02:46 -04:00
Bohdan Horbeshko
47da22ed7d Merge branch 'master' into muc 2025-06-07 03:28:40 -04:00
Bohdan Horbeshko
06964d832e Get rid of edited message hash comparison in favour of EditDate check 2025-06-07 03:24:48 -04:00
Bohdan Horbeshko
86d8f0903a Merge branch 'master' into muc 2025-06-02 10:59:03 -04:00
Bohdan Horbeshko
5f4165ac13 Ignore prefix for OOB in channels too 2025-06-02 10:56:26 -04:00
Bohdan Horbeshko
1d165731a2 Process MUC kicking 2025-05-31 00:10:07 -04:00