aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service
Commit message (Collapse)AuthorAgeFilesLines
* Self-ping with server-given roomnick (#1594)Matthew Fennell2024-06-281-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Self-ping with server-given roomnick (#1467) XEP-0045 describes how a server can modify a user's roomnick when joining a room. To do this, it assigns status code 210, and sets the "from" attribute to a JID with thew newly assigned nickname when sending the user's presence back to the client. This is used in IRC gateways such as biboumi. Since you can only have one nick per IRC server, if you try and join multiple IRC-bridged MUCs on the same IRC server, it will modify your nick to match the existing one you have on that server. Currently, when Dino performs a self-ping after joining a room, it uses the nick that the client first requested, instead of the nick returned from the server. This can lead to incorrect self-pings being sent out (until the client is restarted, and populates mucs_todo correctly). This happens because it adds the requested Jid to mucs_todo, before getting the given nick from the server. Therefore, this commit adds the jid that has been given from the server instead. If there is any error in requesting to join the MUC, it adds the requested nick, to match existing behaviour and allow the request to be retried via future self-pings. fixes #1467 * Minor coding style changes --------- Co-authored-by: fiaxh <git@lightrise.org>
* Store requested disco results with computed hash, use for offline ↵fiaxh2024-06-192-14/+32
| | | | determining of private MUCs
* Add logic for OMEMO by default settingfiaxh2024-05-262-2/+38
|
* Support avatar deletionfiaxh2024-05-261-13/+30
|
* Calls: Correctly display information in partially encrypted callsMarvin W2024-04-281-3/+3
| | | | | This should never happen in practice, but now we will correctly display if a call has encrypted audio, but unencrypted video, or vice-versa.
* Start conversation if closed when receiving an audio or video call (#1485)eerielili2023-10-082-5/+7
| | | | | | | | | * Start conversation if closed when receiving an audio or video call * Fix starting conversation on new calls, move setting conversation.last_active --------- Co-authored-by: fiaxh <git@lightrise.org>
* Fix some compiler warningsfiaxh2023-10-073-7/+3
|
* Rewrite contact details dialogfiaxh2023-09-241-0/+58
|
* Fix build on some Vala compiler versionsMarvin W2023-09-241-0/+5
| | | | See https://gitlab.gnome.org/GNOME/vala/-/issues/1474 and https://gitlab.gnome.org/GNOME/vala/-/issues/1478
* fix: Add x node to MUC PM stanza (#1462)mesonium2023-07-291-0/+7
| | | | | | Add <x/> tag in MUC-PMs to support better Carbon delivery in compliance with XEP-0045 v1.28 and above. Fixes #1306
* Fix character counting for fallbacksfiaxh2023-05-012-3/+3
| | | | fixes #1420
* Code cleanup: Remove left-over usages of mam_earliest_syncedfiaxh2023-04-232-24/+1
|
* Fix crash on NS_URI call when own server has no MAM; drop broken mam:1 "support"fiaxh2023-04-234-13/+13
| | | | fixes #1405
* Fix images from another client in our account not being displayed right awayfiaxh2023-03-231-2/+7
|
* Improve database performance while reconnecting and syncingMarvin W2023-03-211-1/+6
| | | | Also move some tasks to low priority idle queue so they won't block UI updates
* Improve history syncMarvin W2023-03-211-47/+18
| | | | | | | | | | - Ensure we fully fetch desired history if possible (previously, duplicates from offline message queue could hinder MAM sync) - Early drop illegal MAM messages so they don't pile up in the pending queue waiting for their query to end (which it never will if they were not requested in first place). Fixes #1386
* New Avatar UIMarvin W2023-03-051-15/+63
|
* Fix typing notifications in groupchatsMarvin W2023-03-021-0/+4
|
* Don't accept corrections from MUC MAMMarvin W2023-02-071-1/+2
| | | | We don't know if they're from the same user as someone else could have joined with the same nickname after sender left
* Improve history sync under loadMarvin W2023-02-072-33/+95
|
* Deduplicate messages before storing in databaseMarvin W2023-02-071-66/+70
|
* Add priority for and allow cancellation of outgoing stanzasMarvin W2023-02-072-12/+12
|
* Collapse most stream releated errors into IOErrorMarvin W2023-02-072-7/+7
|
* Fix reaction display in private MUCsMarvin W2023-01-312-4/+19
|
* Fix reading reactions in private groups w/o occupant idsfiaxh2023-01-311-4/+11
|
* Always display reaction+reply buttons, disable if not possiblefiaxh2023-01-305-36/+43
|
* Fix reactions from MAM getting attributed to the wrong messagefiaxh2023-01-252-38/+26
|
* MAM: Fix latest range not being stored in db if it contained a duplicatefiaxh2023-01-171-8/+7
|
* Add debug outputs to summarize_whitespaces_to_space and don't assert_not_reachedfiaxh2023-01-131-0/+5
| | | | related #1335
* Support pinning of conversations (locally)fiaxh2023-01-111-2/+3
| | | | | fixes #290 fixes #1330
* Support replies and reactions to filesfiaxh2023-01-116-92/+154
|
* Replies: Fix fallback bodies with multi-line quotesfiaxh2023-01-081-1/+1
|
* Reactions: Fix wrong time being stored for outgoing reactions (micro sec ↵fiaxh2023-01-071-9/+8
| | | | | | teated as milli sec) fixes #1296
* Add support for XEP-0461 replies (with fallback)fiaxh2023-01-067-6/+260
|
* Fix compiler warningsfiaxh2022-12-305-7/+4
|
* MAM: Fix processing after range was fetched completely, fix merging of rangesfiaxh2022-12-201-29/+30
|
* Fix connecting to jingle file provider multiple timesfiaxh2022-12-201-7/+6
|
* Fix some MAM issuesfiaxh2022-11-201-18/+40
| | | | | | - Messages from MUCs weren't added to their respective MUC MAM ranges, thus re-fetched on rejoin - The earliest ('first') message of a mam page was used to update the to_id, but it should have been 'last'; also the other way around. - Duplicates weren't detected properly
* Reactions: Fix reactions being differentiated by resource on first displayingfiaxh2022-11-201-0/+2
| | | | fixes #1297
* Clean up log outputsfiaxh2022-11-043-47/+32
|
* Don't use splice when handling input streams from libsoup-3Marvin W2022-11-021-1/+9
|
* Fix segfault if reaction message has type normalfiaxh2022-10-201-4/+4
| | | | fixes #1294
* Fix message server_id getting overwritten with null on reconnectfiaxh2022-10-111-1/+4
|
* Add support for reactionsfiaxh2022-10-114-1/+541
|
* Rewrite MAM logic and add MUC MAMfiaxh2022-10-107-266/+629
|
* Fix crash when calling contact from Conversations (#1259)rim2022-08-221-1/+4
| | | fixes #1227
* Gtk4 bug fixes and improvementsMarvin W2022-07-271-1/+1
|
* Port from GTK3 to GTK4fiaxh2022-07-273-32/+61
|
* Allow cancellation of file transfersMarvin W2022-03-301-5/+6
|
* Prepare for 0.3 releasefiaxh2022-02-121-1/+1
|