Commit graph

47 commits

Author SHA1 Message Date
SpiritCroc
d057f1c673
event: add action message content for rich call notifications (#454) 2026-01-23 15:38:17 +01:00
Tulir Asokan
5ac73563b0 event/cmdschema: add MSC4391 types, parser and stringifier 2026-01-10 20:55:11 +02:00
Tulir Asokan
be22286000 event: drop MSC4332 support 2026-01-10 20:55:11 +02:00
Tulir Asokan
8f8b26d815 event: add is_animated flag from MSC4230 2025-09-02 10:33:49 +03:00
Tulir Asokan
cd927c2796 event: add types for MSC4332
Some checks failed
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-08-30 19:54:58 +03:00
Tulir Asokan
c04d0b6681 bridgev2: merge mentions and url previews when merging caption 2025-08-25 17:16:18 +03:00
Kishan Bagaria
1d484e01d0
event: implement disappearing timer types (#399)
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
Co-authored-by: Tulir Asokan <tulir@maunium.net>
2025-08-22 02:16:56 -07:00
Tulir Asokan
da25a87fc1 event: clear mentions in SetEdit 2025-04-29 19:58:47 +03:00
Tulir Asokan
53a56684d3 event: remove struct tags from FileInfo
Some checks failed
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
They're lies, only `serializableFileInfo` is actually used
2025-01-13 22:09:49 +02:00
Tulir Asokan
c05be16a52 event: fix de/serializing fi.mau.gif file info field 2025-01-13 22:09:38 +02:00
Tulir Asokan
2851065869
bridgev2: send room capabilities as a state event (#344) 2025-01-10 16:55:18 +02:00
Tulir Asokan
5a3dd8d45c imports: use html instead of x/net/html for escaping
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2024-11-15 15:34:31 +02:00
Tulir Asokan
bb6aaf79a9 event: add helpers for getting caption and file name 2024-10-06 16:50:08 +03:00
Tulir Asokan
edae08383b event: add Has method for Mentions
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2024-09-26 00:23:05 +03:00
Toni Spets
9e8d3050b0
Add MSC4144 per message profile types (#256) 2024-07-17 13:29:13 +03:00
Tulir Asokan
c6da493283 event: ignore calls to Mentions.Add with empty user ID 2024-07-13 19:59:29 +03:00
Tulir Asokan
32e6f25c34 event: add helper to append user ID to Mentions 2024-07-11 14:01:45 +03:00
Tulir Asokan
7f18d6b735 bridgev2: add caption merging utilities 2024-07-11 11:38:23 +03:00
Sumner Evans
8e1fdfda2c
event: add unstable audio and voice fields
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-06-20 10:00:42 -06:00
Tulir Asokan
740c588b96 Add MSC4095 types 2024-02-17 14:46:10 +02:00
Tulir Asokan
d014d56e85 Add blurhash to file info struct 2024-01-03 14:52:42 +02:00
Tulir Asokan
a274ab89a5 Add redacts field for redaction event content 2023-10-10 19:48:49 +03:00
Tulir Asokan
1b562eed16 Add function to reverse TextToHTML 2023-10-06 16:03:14 +03:00
Tulir Asokan
691b96adc2 Add fields for beeper galleries 2023-09-02 12:26:31 +03:00
Tulir Asokan
89395de354 Remove unstable MSC3952 mentions field 2023-05-24 12:12:22 +03:00
Tulir Asokan
5a66a33d4a Add structs for MSC3952 2023-03-01 17:40:54 +02:00
Tulir Asokan
0cf9a40646 Cut off edit fallback in long messages 2023-02-02 22:22:25 +02:00
Tulir Asokan
fcd1ae7eb4 Add utility method to HTML-escape and replace newlines in text 2022-11-11 15:38:07 +02:00
Tulir Asokan
b185813704 Add new fields for Beeper message retries 2022-06-29 19:50:10 +03:00
Tulir Asokan
3e225776a0 Add filename field for MessageEventContent 2022-06-28 11:51:32 +03:00
Tulir Asokan
77543cc02c Remove custom reply relation type 2022-05-28 22:04:09 +03:00
Tulir Asokan
0eee489b64 Switch to /v3 paths everywhere 2022-04-17 12:59:34 +03:00
Tulir Asokan
5a4618d04e Add method for ensuring MessageEventContent has a FormattedBody 2022-04-05 12:50:06 +03:00
Tulir Asokan
400679491b Fix deserializing thumbnail_file 2022-03-04 14:59:09 +02:00
Tulir Asokan
bfe80f7ae0 Omit empty msgtypes in message event content
Sticker events don't have a msgtype
2022-02-28 22:17:39 +02:00
Tulir Asokan
1031b1eb42 Add SetEdit utility function to MessageEventContent 2021-10-27 15:30:04 +03:00
Nikos Filippakis
cbcbbd97fa Handle in-room verification requests
Signed-off-by: Nikos Filippakis <me@nfil.dev>
2020-08-30 20:51:17 +02:00
Tulir Asokan
25a7420e62 Revert "Remove RiotX float compatibility code"
Element Android is still broken and I need to make a new tag

This reverts commit 0f0edd39db.
2020-08-21 20:41:38 +03:00
Tulir Asokan
0f0edd39db Remove RiotX float compatibility code 2020-08-06 01:35:42 +03:00
Tulir Asokan
cbc4cc21af Fix marshaling FileInfo with ThumbnailFile 2020-06-10 15:25:35 +03:00
Tulir Asokan
81fdb5caab Add GeoURI to MessageEventContent for m.location messages 2020-05-24 19:01:44 +03:00
Tulir Asokan
165bdd1dd1 Make it safe to call RemoveReplyFallback multiple times 2020-05-08 21:31:23 +03:00
Tulir Asokan
61b3fde37b Fix m.relates_to handling in encrypted events 2020-05-05 19:36:40 +03:00
Tulir Asokan
e9e56523da Random changes 2020-05-05 19:15:30 +03:00
Tulir Asokan
a120e7a70f Change stuff and invalidate outgoing group sessions on member event 2020-05-05 18:37:08 +03:00
Tulir Asokan
a14b55c544 Fix content URI parsing 2020-04-29 02:44:24 +03:00
Tulir Asokan
f4fc99cddb Overhaul event content representation 2020-04-19 03:23:27 +03:00