Friday, January 12, 2024
grimoire@muc.metronome.im
January
Mon Tue Wed Thu Fri Sat Sun
1 2 3 4
5
6
7
8 9
10
11 12
13 14
15 16 17
18 19 20 21
22 23 24 25 26 27
28
29 30 31        
             
Metronome IM "cook" book room | Support and Dev talk about the Metronome XMPP server.

Latest stable version build is: 4.0.3

For more information you can visit: https://metronome.im

Room logs can be found here: https://muc.metronome.im/logs/grimoire/

* Links *
<==========================================================>
- Building & Installation:
https://metronome.im/building
- Documentation:
https://metronome.im/documentation
- Issues Tracker:
https://github.com/maranda/metronome/issues
<==========================================================>

[09:30:25] <Maranda> Unrelated
[09:55:03] <hook> Hmmm, any idea how to figure this one out?
[10:13:48] <Maranda> which one?
[10:13:49] <Maranda> The SM one just ignore it it's harmless
[10:21:00] <hook> In general, figuring out (and fixing) why some clients see only a (seemingly random) selection fo messages from 1:1 chats.
[11:44:37] <hook> I analysed all these 1:1 chats and came to the following results:
```
- Ad**n:
- Dino has only two messages from 2024-01-08_23:32 (OMEMO)
- Gajim has many messages ranging from 2024-01-07_00:35 to 2024-01-10_00:02 (some OMEMO, some unencrypted) but specifically missing the two that Dino has
- Kaidan has no messages
- Conversations has many messages ranging from 2024-01-07_00:35 to 2024-01-11_22:04 (some OMEMO, some unencrypted), it seems to be the complete history
- An**n:
- Dino has no messages
- Gajim has many messages ranging from 2024-01-09_22:52 to 2024-01-10_01:08 (mine OMEMO, my contact’s unencrypted), but after that it’s missing 9 messages
- Kaidan has no messages
- Conversations has many messages ranging from 2024-01-09_22:52 to 2024-01-10_10:19 (some OMEMO, some unencrypted), it seems to be the complete history
- O**x:
- Dino has no messages
- Gajim has all 4 messages (all OMEMO, one of them unverified)
- Kaidan has no messages
- Coversations has all 4 messages, but the unverified one shows as “Message was not encrypted for this device” instead
- M**s:
- Dino has no messages
- Gajim has many messages ranging from 2024-01-10_00:04 to 2024-01-11_22:04 (some OMEMO, some unencrypted, incl. one early one that said “Message was not encrypted for this device.”, after which we disabled encryption for a while, later enabling OMEMO again), it is missing 6 (unencrypted) messages
- Kaidan has no messages
- Conversations has many messages ranging from 2024-01-10_00:04 to 2024-01-10_00:02 (some OMEMO, some unencrypted, incl. one early one that said “Message was not encrypted for this device.”, after which we disabled encryption for a while, later enabling OMEMO again), it is missing 1 message
```
[12:48:41] <hook> OK, I tested now as follows:
1) quit Gajim and went offline in Conversations
2) started Dino and went online
3) exchanged several messages with a contact in a 1:1 chat – tried both OMEMO and unencrypted
4) went online in Gajim – none of these messages showed up
5) went online in Conversations – none of these messages showed up
6) wrote some more messages – these new ones show in all the clients
[12:49:07] <hook> It seems to me like Carbons works, but MAM does not.
[14:11:54] <Moogle Archon> **[maranda/metronome]** Neustradamus [commented](https://github.com/maranda/metronome/pull/553#issuecomment-1889313014) on [pull request #553](https://github.com/maranda/metronome/pull/553): Change openssl.cnf to use correct OIDs for newer openssl versions:
> @tbart: A good PR, thanks!
>
> Linked to:
>
> ● https://github.com/openssl/openssl/pull/9965
> ● https://github.com/openssl/openssl/commit/4baee2d72e0c82bfd6de085df23a1bdc6af887ba
[14:56:00] <Maranda> hook: sounds like carbons is enabled and MAM is not
[14:56:14] <Maranda> MAM needs to be explicitly enabled via Prefs
[14:57:31] <hook> Maranda, thanks. I’ll check. I assumed that it’s enabled, since in Gajim asking the server for features, there’s a ✔ next to MAM too.
[15:03:02] <Maranda> https://aria.im/_matrix/media/v1/download/aria-net.org/GavmSqzixRQuNYdCUnnfXdPV
[15:03:02] <Maranda> > <hook> Maranda, thanks. I’ll check. I assumed that it’s enabled, since in Gajim asking the server for features, there’s a ✔ next to MAM too.

That shows support not whether archiving is enabled.
[15:05:01] <hook> Oooh, OK
[15:05:36] <hook> So I need to add `mod_mam` to `/etc/metronome/conf.d/` somewhere?
[15:06:25] <hook> Hmm, it does seem there is `mam` in `metronome.cfg.lua`
[15:13:49] <hook> https://paste.yunohost.org/raw/apupopuduz
[15:17:31] <Maranda> MAM archivining needs to be explicitly enabled in the account via MAM preferences, again.
[15:17:57] <Maranda> (reference screen)
[15:31:18] <hook> Got it, thanks! It took me a long while to find where that is.
[15:35:28] <hook> This worked, thank you, Maranda ! :D
[20:05:16] <Maranda> 👍