Monday, December 16, 2019
grimoire@muc.metronome.im
December
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
<==========================================================>

[19:48:31] <massimiliano> hey Maranda
[19:48:46] <massimiliano> got a small strange issue
[19:48:58] <Curator> Hm?
[19:49:12] <massimiliano> mam seesm to work on gajim but not on Conversations
[19:49:18] <massimiliano> *seems
[19:49:23] <Maranda> Impossible
[19:50:19] <massimiliano> well if i send a message in a muc with conversations and other user i can see it on gajim
[19:50:26] <massimiliano> but not the way around
[19:50:59] <massimiliano> i also see the messages on the *.dat file
[19:51:04] <Maranda> send a message where?
[19:51:13] <Maranda> groupchat?
[19:51:15] <Maranda> private?
[19:51:28] <massimiliano> both
[19:51:42] <massimiliano> public and private groupchat
[19:52:05] <Maranda> mod_mam stores only muc private messages, not groupchat messages
[19:52:33] <massimiliano> ok
[19:52:40] <Maranda> or you mean mod_muc_log_mam?
[19:52:57] <massimiliano> mod_muc_log_mam
[19:53:38] <massimiliano> this is my setting
---Set up a MUC (multi-user chat) room server
Component "muc.insurge.org" "muc"
name = "insurge.org Chatrooms"
-- ssl = { key = "/etc/yunohost/certs/muc.insurge.org/key.pem", certificate = "/etc/yunohost/certs/muc.insurge.org/crt.pem" }

modules_enabled = {
"muc_limits";
"muc_log";
"muc_log_mam";
"muc_log_http";
"muc_vcard";
"pastebin";
}


mam_stores_cap = 1000
muc_event_rate = 0.5
muc_burst_factor = 10

muc_log_http_config = {
url_base = "logs";
theme = "metronome";
}

[19:56:04] <massimiliano> Maranda by private i understood it as private muc
[19:57:33] <Maranda> massimiliano, what you say doesn't make sense, you send messages from conversations, see 'em in Gajim but not the other way around doesn't sound like a MAM issue either.
[19:57:40] <Maranda> also is logging enabled for the room?
[19:59:05] <massimiliano> https://disroot.org/upload/IQWwV4udRSgwVEfo/Schermata%20del%202019-12-16%2020-58-31.png
[19:59:11] <massimiliano> yes
[19:59:36] <massimiliano> i know it doesn't make sense
[19:59:44] <massimiliano> that is why i am asking
[20:00:05] <massimiliano> and it is not my phone only
[20:02:54] <Curator> <!-- Outgoing 16/12/2019 21:02:12 (maranda@lightwitch.org) -->
<iq to="insurge@muc.insurge.org" type="set" id="juliet1" xmlns="jabber:client" from="maranda@lightwitch.org/gajim.AY6EHWN4">
<query xmlns="urn:xmpp:mam:2" queryid="f28" />
</iq>

<!-- Outgoing 16/12/2019 21:02:12 (maranda@lightwitch.org) -->
<r xmlns="urn:xmpp:sm:3" />

<!-- Incoming 16/12/2019 21:02:12 (maranda@lightwitch.org) -->
<message xmlns="jabber:client" to="maranda@lightwitch.org/gajim.AY6EHWN4" from="insurge@muc.insurge.org">
<result id="c21c02b9-dbb4-410d-82c1-205bfdc9f0bd" queryid="f28" xmlns="urn:xmpp:mam:2">
<forwarded xmlns="urn:xmpp:forward:0">
<delay stamp="2019-12-16T19:59:58Z" xmlns="urn:xmpp:delay" />
<message id="0fd3559c-10c1-4d44-918a-750b9fbafd3a" type="groupchat" from="insurge@muc.insurge.org/maranda">
<body>.</body>
<securitylabel xmlns="urn:xmpp:sec-label:0">
<label>Unclassified</label>
</securitylabel>
<origin-id id="0fd3559c-10c1-4d44-918a-750b9fbafd3a" xmlns="urn:xmpp:sid:0" />
</message>
</forwarded>
</result>
</message>

<!-- Incoming 16/12/2019 21:02:12 (maranda@lightwitch.org) -->
<message xmlns="jabber:client" to="maranda@lightwitch.org/gajim.AY6EHWN4" from="insurge@muc.insurge.org">
<result id="b68acf1e-81fd-4323-9a8a-bb0c4ced5962" queryid="f28" xmlns="urn:xmpp:mam:2">
<forwarded xmlns="urn:xmpp:forward:0">
<delay stamp="2019-12-16T20:00:02Z" xmlns="urn:xmpp:delay" />
<message id="14d21c7c-404f-4dac-9967-b940c7de8584" type="groupchat" from="insurge@muc.insurge.org/imadmin">
<body>.</body>
<securitylabel xmlns="urn:xmpp:sec-label:0">
<label>Unclassified</label>
</securitylabel>
<origin-id id="14d21c7c-404f-4dac-9967-b940c7de8584" xmlns="urn:xmpp:sid:0" />
</message>
</forwarded>
</result>
</message>

<!-- Incoming 16/12/2019 21:02:12 (maranda@lightwitch.org) -->
<iq xmlns="jabber:client" id="juliet1" type="result" to="maranda@lightwitch.org/gajim.AY6EHWN4" from="insurge@muc.insurge.org">
<fin xmlns="urn:xmpp:mam:2" complete="true">
<set xmlns="http://jabber.org/protocol/rsm">
<first index="0">c21c02b9-dbb4-410d-82c1-205bfdc9f0bd</first>
<last>b68acf1e-81fd-4323-9a8a-bb0c4ced5962</last>
<count>2</count>
</set>
</fin>
</iq>

[20:03:05] <Curator> works perfectly
[20:05:58] <massimiliano> well the last message i sended with gajim didn't arrive on conversations
[20:06:35] <Curator> open conversations
[20:07:38] <Curator> you may not see the notification because it has been queued by CSI
[20:08:00] <massimiliano> Wat is CSI?
[20:08:08] <Maranda> client state indication
[20:08:13] <Maranda> @version insurge.org
[20:08:13] <Echo1> Maranda: insurge.org is running Metronome version 3.12.0 on Linux
[20:09:02] <Maranda> so when you open the client you'll see the message right there, when the queue is flushed.
[20:09:31] <Maranda> but still that's fairly different from not "receiving the message"
[20:09:55] <Maranda> also you'll always receive a message when you're hilighted
[20:10:46] <massimiliano> yes but for example family members that only use conversations don't get all messages if they are offline on the moment
[20:10:55] <massimiliano> and then back online
[20:12:17] <Maranda> No
[20:12:22] <Maranda> that's not how it works
[20:12:50] <Maranda> you're confusing from not receiving the message from not getting a notification immediatly
[20:13:02] <Maranda> Messages will be always received
[20:13:37] <Maranda> Metronome just queues unimportant messages when Conversation is not open
[20:13:49] <Maranda> and presences
[20:13:55] <Maranda> to save bandwidth
[20:14:01] <Maranda> and battery
[20:14:17] <Maranda> or more likely battery
[20:15:21] <massimiliano> should i unflag 'Queue ALL MUC Messages but Mentions if inactive' ?
[20:15:50] <Maranda> yes that's the one
[20:16:02] <Maranda> if you want to always receive messages
[20:18:33] *massimiliano testing
[20:22:46] <massimiliano> Maranda it still doesnt get the messages
[20:23:27] <massimiliano> https://disroot.org/upload/lBnhrS7X3SooLaop/i6rz9as1SS-0ggLceu1x4A.jpg
[20:24:12] <Maranda> I'm not in the room
[20:25:13] <Maranda> massimiliano are you trying to retrieve messages older than one month?
[20:25:13] <massimiliano> yes i know. But you can see the screenshot
[20:25:21] <massimiliano> no
[20:25:34] <massimiliano> https://disroot.org/upload/nZldQaQseK69_eVN/Schermata%20del%202019-12-16%2021-25-05.png
[20:25:47] <massimiliano> from 21:18
[20:26:13] <massimiliano> it is not there
[20:26:52] <Maranda> massimiliano the problem is client side I reiceive all of 'em
[20:26:57] <Maranda> and see 'em in MAM
[20:27:17] <massimiliano> Maranda do you use Conversations?
[20:27:24] <Maranda> yes
[20:27:33] <Maranda> and don't experience your issues
[20:27:34] <massimiliano> does it work with you?
[20:27:38] <Maranda> yes
[20:27:41] <Maranda> also with your muc
[20:27:48] <Maranda> and I joined with multiple resources
[20:28:26] <massimiliano> could it be an ldap issue?
[20:29:20] <Maranda> How could ldap be concerned?
[20:29:35] <massimiliano> storage="ldap"
[20:29:50] <massimiliano> you know i have low knowledge :-)
[20:30:01] <Maranda> again how could ldap be concerned from Conversations not receiving muc messages?
[20:30:24] <massimiliano> i don't know. Issue is on all my users
[20:31:11] <Maranda> I have no idea
[20:31:35] <Maranda> I just tested on conversation and your muc myself
[20:31:47] <Maranda> try disabling mod_muc_limits
[20:32:56] <Maranda> but I doubt it's that either
[20:36:55] <massimiliano> indeed
[20:37:16] <massimiliano> Anyway. Thanks Maranda!
[20:38:21] <Echo1> maranda committed --
{...}: refactor code and cleanup...
-> https://github.com/maranda/metronome/commit/736bc90ad0b2c0c4a0851ef4a65f30e0f22e638c
[20:38:57] <Maranda> massimiliano, no problem yw anytime
[20:53:22] <Echo1> maranda committed --
mod_bind_session: remove semicolon.
-> https://github.com/maranda/metronome/commit/2e903f027e888c6ac4adf9445660a2dac4f08210
[21:36:57] <massimiliano> ‎Maranda‎ FYI
I installed an older Pix-art version and all worked as aspected
I removed and installed last version of Pix-art and muc-log and mam didn't work
[21:37:42] <massimiliano> seems like bug or incompatibility of newer pix-art/conversations
[21:38:14] <Maranda> Which version of C are you using?
[21:38:46] <massimiliano> 2.6.1+fcr
[21:39:32] <massimiliano> but i think the issue for me is from 2.6.0
[21:40:53] <Maranda> Fcr is from f-droid?
[21:41:18] <massimiliano> yes
[21:42:04] <Maranda> The problem might be related to it missing push notifications entirely
[21:42:13] <Maranda> I have no idea
[21:42:47] <massimiliano> what version do you use?
[21:42:59] <Maranda> I use 2.6.1, playstore version and works perfectly
[21:43:55] <Maranda> Also my bf uses pix-art 2.3.4 from playstore and that does work as well
[21:48:49] <massimiliano> maybe issue is related that i don't have any google services on my phone
[21:49:27] <massimiliano> i tried to install latest pix-art from aurora and still the same issue
[21:49:53] <massimiliano> but 1 thing is for sure. It is not due metronome
[22:38:10] <massimiliano> ‎Maranda‎ i solved the issue
[22:39:02] <massimiliano> i updated /mod_muc_log_mam.lua and /mod_muc_log.lua from git
[22:39:20] <massimiliano> \o/
[22:40:12] <massimiliano> good night
[22:40:14] <massimiliano> :-)
[23:04:58] <Maranda> Nice 👌