Opened 23 months ago

Last modified 23 months ago

#17198 new defect

Local package drop/ignore for specific XMPP resources/devices (especially own device) needed.

Reported by: Sur3 Owned by: deryni
Milestone: Component: XMPP
Version: 2.12.0 Keywords: XMPP resource device blocking
Cc:

Description (last modified by Sur3)

Hello, i have a problem with resource/device-handling in XMPP.

I have myself in the contact list to share memos to myself for different devices. Now having different resources for the same XMPP address at the same time seemes to break behaviour in different encryption plugins, as OTR doesn't know for what resources to encrypt for and lurch works fine but always msg'es an annoying error message on every message sent because the packets to the own resource/device can not be decrypted: https://github.com/gkdr/lurch/issues/47

I'd therefore like to tell libpurple to send only packages to other devices and drop packages for the own resource to having this working right.
This could also be a default setting to begin with as sending packets to the own device doesn't make sense in most cases.

I tried to work this around by blocking single resources but the blocking feature of pidgin seemes to redirect globally to the server for all resources instead of blocking the own resource just locally.

An other workaround would be to add different resources to the contact list but that seemes to ignore the resource and just adds the jabber-id for all resources to the list. This workaround would be related to #2448.

Change History (5)

comment:1 Changed 23 months ago by Sur3

  • Summary changed from Local package drop/ignore for specifix XMPP-Ressources/Devices (especially own device) needed. to Local package drop/ignore for specific XMPP-Ressources/Devices (especially own device) needed.

comment:2 Changed 23 months ago by Sur3

  • Description modified (diff)

comment:3 Changed 23 months ago by Robby

  • Description modified (diff)
  • Keywords resource device blocking added; Ressource Device Blocking removed
  • Milestone 2.12.1 deleted
  • Summary changed from Local package drop/ignore for specific XMPP-Ressources/Devices (especially own device) needed. to Local package drop/ignore for specific XMPP resources/devices (especially own device) needed.

comment:4 Changed 23 months ago by Sur3

  • Description modified (diff)

comment:5 Changed 23 months ago by Sur3

Ok there is a workaround in lurch now ignoring the incoming pakets from the same resource. Therefore i would rate local paket drop/ignore not that high, though it would be a much more sane implementation to not send the packets to the same resource at all than to just ignore them upon receiving. But i think that is not as important as #2448 which should have high priority!

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!