-
Ge0rG
Will MUC subject changes also be stored in a MUC's offline history and replayed on join?
-
lovetox
not to my knowledge Ge0rG
-
lovetox
this would be akward
-
Ge0rG
indeed
-
lovetox
im not sure why though, its just a gut feeling
-
lovetox
it would be weird in combination with MAM
-
Maranda
Not replayed in history *shrugs*
-
lovetox
because if you join with max=0 history
-
lovetox
then you still receive the subject from the MUC
-
lovetox
and afterwards you request MAM
-
Maranda
Indeed
-
lovetox
and get a bunch of subject changes
-
lovetox
but you have the timestamp so you could sort them correctly
-
Ge0rG
> because if you join with max=0 history [..] and afterwards you request MAM Are there potential race conditions between sync and live traffic?
-
lovetox
i dont think so because you have timestamps
-
Ge0rG
1. join 2. request MAM since $last_timestamp 3. live message comes in 4. MAM comes in, eventually containing that last live message
-
oli
why awkward? subject changes could be part and context of a conversation.
-
Maranda
At most, at least I, record only in http logs the subject changes not the rest
-
lovetox
oli i meant protocol wise akward
-
lovetox
not that it couldnt be useful
-
Ge0rG
oli: because a client might think "the sync is completed"
-
oli
right
-
lovetox
Ge0rG, you case is does not lead to problems with mam:2
-
lovetox
because of stanza-id deduplication
-
Maranda
oli: it's not stated in the protocol to begin with that subject changes should go in the history (or otherwise, but it goes against the intentions me thinks)
-
Ge0rG
I normally don't deduplicate for live messages, only for MAM syncup
-
lovetox
true .. i remember i also dont
-
lovetox
but i throw away all messages while a MAM MUC catchup is running
-
lovetox
or something like that
-
lovetox
i considererd this case, thats what i remember
-
Ge0rG
We really need to document all these hairy corner cases
-
Ge0rG
also notification suppression
-
Ge0rG
Just had a similar discussion with Anu yesterday
-
Zash
Did you know: Normal groupchat messages are allowed to have a subject if they have a body too
-
lovetox
ah i remember now Ge0rG this still does work with deduplication
-
lovetox
because live message gets written into the db first
-
lovetox
then mam message comes, and you dedup on that
-
Ge0rG
Zash: normal != groupchat
-
lovetox
he just means groupchat messages
-
lovetox
you have to filter on "has subject but not body"
-
Zash
<message type=groupchat><subject>stuff</subject><body>Let's talk about stuff</body></message>
-
lovetox
to catch a subject, not just "has subject"
-
Zash
That is *not* a MUC subject change
-
Zash
Just a groupchat message that happens to have a subject
-
ralphm
Indeed. “Note: In accordance with the core definition of XML stanzas, any message can contain a <subject/> element; only a message that contains a <subject/> but no <body/> element shall be considered a subject change for MUC purposes.”
-
Ge0rG
Some MUC implementation forbid messages having both body and subject.
-
Ge0rG
Still, it doesn't answer my question of whether it's legal to have a subject change in MUC history
-
ralphm
I don't see why it shouldn't be in there.
-
Ge0rG
ralphm: because of https://xmpp.org/extensions/xep-0045.html#order
-
Ge0rG
Of course there are also servers that *don't* send the subject at all if it's not set, so...
-
ralphm
Ge0rG: I still don't see the issue. If you are sending message history, that's not 'live messages'
-
lovetox
i think this is not easy to implement for servers
-
Ge0rG
ralphm: a client needs to be able to distinguish history from live messages
-
lovetox
they only should put the first subject change into the archive
-
lovetox
afterwards they send the subject to many users, but should not put it into the archive anymore
-
Ge0rG
lovetox: every subject change should be in the archive
-
ralphm
They already should, no? Message history stanzas have a <delay/> with a from attribute.
-
lovetox
ralphm, from attr is not mandatory
-
lovetox
and servers dont enforce it
-
Ge0rG
ralphm: a <delay/> with a from is not exclusive to history.
-
lovetox
also all other messages can also have delay
-
Ge0rG
so it's a good indicator, at best.
-
lovetox
also the room subject itself can have a delay
-
ralphm
Hmm. It says here in 7.2.14: Note well that this means the room subject (and changes to the room subject prior to the current subject) are not part of the discussion history.
-
ralphm
Well, that sucks
-
Ge0rG
ralphm: ah, thanks. Didn't see that.
-
lovetox
why are you interested in this Ge0rG? are you writing code regarding to subject changes?
-
ralphm
Good thing that's resolved with MIX.
-
ralphm
I.e. there's no subject there, at all.
-
Ge0rG
lovetox: I have some legacy code about subject changes. Also a race condition between receiving the subject and receiving the room's disco#info on join
-
ralphm
Fortunately, if you want to add such functionality, you'd just have another node for just the room subject.
-
lovetox
yeah separation is good for that
-
lovetox
Ge0rG, dont you want to disco the muc before you join?
-
lovetox
thats recommended if you want to use mam when i remember correctly
-
Ge0rG
lovetox: I'll have to change that then
-
lovetox
the problem with mam is, that if you join a muc without knowing if it is mam capable
-
lovetox
you have to use history in the join, because you dont know about mam
-
lovetox
because you can do a join with max=0
-
lovetox
and then get the history later
-
lovetox
cant*
-
lovetox
you have to specifiy on join if you want history or not, so you already need to know about mam
-
lovetox
and to make that process faster on rejoins, i would also cache that disco information
-
Ge0rG
Yay.
-
Alex
hey guys, ready for our member meeting?
-
Seve
o/
-
Zash
woop
-
Alex
okay
- Alex bangs the gavel
-
Alex
here is our Agenda for today
-
Alex
https://wiki.xmpp.org/web/Meeting-Minutes-2018-12-18
-
Alex
1) Call for Quorum
-
Alex
as you can see 30 members voted via memberbot, so we have a quorum
-
Alex
2) Items Subject to a Vote
-
Alex
new and returning members, you can see all applicants here: https://wiki.xmpp.org/web/Membership_Applications_Q4_2018
-
Alex
3) Opportunity for XSF Members to Vote in the Meeting
-
Alex
anyone here who has not voted yet via memberbot and wants to vote now?
-
Alex
ok, looks like I can start working on the results then
-
Seve
Good! :)
-
Alex
4) Announcement of Voting Results
-
Alex
when you reload the page you can see the results at: https://wiki.xmpp.org/web/Meeting-Minutes-2018-12-18#Announcement_of_Voting_Results
-
Alex
all Reappliers accepted, no new applicants this term
-
Alex
congrats to everyone
-
Seve
Congratulations :)
-
Seve
THank you Alex
-
Alex
5) Any Other Business?
-
Zash
Not here
-
Guus
Nor here
-
Alex
6) Formal Adjournment
-
Alex
I motion that we adjourn
-
Guus
Second
-
Guus
-ed
-
Zash
+ed²
-
Guus
Thank you once again, Alex
- Alex bangs the gavel
-
Link Mauve
Thanks. :)
-
Alex
thank you guys, will send out minutes and update the memebrlist ASAP
-
Zash
Thanks Alex
-
Ge0rG
Thanks very much. Happy to hear I wasn't demoted.
-
Alex
:-P
-
Ge0rG
Also what's wrong with you guys? I troll and curse all the time and don't get any negative votes!?
-
jonas’
Ge0rG, nobody wants to have to repeat the council vote probably ;-)
-
Ge0rG
Heh!
-
jonas’
or, y’know, they value your nevertheless useful technical contributions...
-
Ge0rG
Can't imagine *that*