Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • poezio poezio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 178
    • Issues 178
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poezio
  • poeziopoezio
  • Issues
  • #3458

Closed
Open
Created Feb 13, 2019 by Maxime Buquet@ppjetMaintainer

Handle muc avatars

20:19:45 OUT <presence to="some@ejabberd-muc/pep." id="651ef258-7565-4cee-bb00-d8bda9c933c5-3C54B" xml:lang="en"><x xmlns="http://jabber.org/protocol/muc">[..]</x>[..]</presence>
20:19:45 IN  <presence id="1590777861690626049" to="pep@bouah.net/poezio-foo" from="some@ejabberd-muc"><c xmlns="http://jabber.org/protocol/caps" ver="zNpEdUqI5c8S4e5yyws5pP1ScVA=" hash="sha-1" node="http://www.process-one.net/en/ejabberd/" /><x xmlns="http://jabber.org/protocol/muc#user"><item /></x><nick xmlns="http://jabber.org/protocol/nick" /></presence>
20:19:45 IN  <presence to="pep@bouah.net/poezio-foo" from="some@ejabberd-muc/pep." id="651ef258-7565-4cee-bb00-d8bda9c933c5-3C54B" xml:lang="en"><c xmlns="http://jabber.org/protocol/caps" hash="sha-1" ver="3wsWe0x0S68wFb35oczsM/aDzGQ=" node="https://poez.io" /><idle xmlns="urn:xmpp:idle:1" since="2019-02-13T20:19:45.312783+09:00" /><x xmlns="vcard-temp:x:update"><photo>bc59cfde8c748d222d643c1b2171af95ed1c9d6e</photo></x><x xmlns="http://jabber.org/protocol/muc#user"><item jid="pep@bouah.net/poezio-foo" role="moderator" affiliation="owner" /><status code="201" /><status code="110" /></x><nick xmlns="http://jabber.org/protocol/nick" /></presence>
20:19:45 IN  <message type="groupchat" to="pep@bouah.net/poezio-foo" from="some@ejabberd-muc" id="651ef258-7565-4cee-bb00-d8bda9c933c5-3C54D"><subject /></message>

That first presence IN coming from the mucjid, without any nick, is wrongly interpreted by poezio as another user, and /names counts "2" users in this newly created room.

Poezio should ignore it when it comes to user count, at least. Then what we do with the avatar.. I guess that's up to @linkmauve.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking