• Blackhole16's avatar
    feat(MUC): Add Preference to Suppress XEP Status Code 100 · c0c12250
    Blackhole16 authored
    XEP Status Code 100 tells the XMPP client application, that a room is not
    anonymous, which means that JIDs of all members are revealed.
    
    Unfortunately, XEP states, that the Server should send an body together
    with the status code, containing 'This room is not anonymous'.
    
    Extract from XEP 1.24:
    "Example 24. Service Warns New Occupant About Lack of Anonymity
    
    <message
        from='darkcave@chat.shakespeare.lit'
        to='hag66@shakespeare.lit/pda'
        type='groupchat'>
      <body>This room is not anonymous.</body>
      <x xmlns='http://jabber.org/protocol/muc#user'>
        <status code='100'/>
      </x>
    </message>"
    
    Therefore each time a user enters a non-anonymous room he receives a
    message containing "This room is not anonymous".
    A problem with this is the fact, that this happens with every reconnect
    of the mobile connection. For each room with every internet change (WiFi
    to mobile or vice versa, or just unstable internet) one'll get a
    notificaton.
    
    To stop this from happening I added an Option to the Chat-Room-Settings,
    which allows to suppress this messages. This way users can suppress them
    for the rooms they don't need this notificaton.
    c0c12250
Name
Last commit
Last update
..
anim Loading commit data...
drawable Loading commit data...
drawable-hdpi Loading commit data...
drawable-mdpi Loading commit data...
drawable-v21 Loading commit data...
drawable-xhdpi Loading commit data...
drawable-xxhdpi Loading commit data...
drawable-xxxhdpi Loading commit data...
layout Loading commit data...
layout-ldrtl Loading commit data...
menu Loading commit data...
raw Loading commit data...
values Loading commit data...
values-ar Loading commit data...
values-de-rDE Loading commit data...
values-es-rES Loading commit data...
values-fr-rFR Loading commit data...
values-ja-rJP Loading commit data...
values-land Loading commit data...
values-ru-rRU Loading commit data...
values-sr Loading commit data...
values-uk-rUA Loading commit data...
values-v21 Loading commit data...
values-zh-rCN Loading commit data...
values-zh-rTW Loading commit data...
xml Loading commit data...