• 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
..
account Loading commit data...
connection Loading commit data...
entity Loading commit data...
extension Loading commit data...
intent Loading commit data...
message Loading commit data...
notification Loading commit data...
roster Loading commit data...
AbstractTable.java Loading commit data...
ActivityManager.java Loading commit data...
Application.java Loading commit data...
BaseManagerInterface.java Loading commit data...
BaseUIListener.java Loading commit data...
DatabaseManager.java Loading commit data...
DatabaseTable.java Loading commit data...
FileLogDebugger.java Loading commit data...
LogManager.java Loading commit data...
NetworkException.java Loading commit data...
OnClearListener.java Loading commit data...
OnCloseListener.java Loading commit data...
OnErrorListener.java Loading commit data...
OnInitializedListener.java Loading commit data...
OnLoadListener.java Loading commit data...
OnLowMemoryListener.java Loading commit data...
OnMigrationListener.java Loading commit data...
OnTimerListener.java Loading commit data...
OnUnloadListener.java Loading commit data...
OnWipeListener.java Loading commit data...
SettingsManager.java Loading commit data...
VcardMaps.java Loading commit data...