Can't set avatar : "TigaseSwift.PubSubError error 1." (#531)
Unknown opened 3 years ago

Describe the bug When my contact tries to change its profile picture within Siskin, he's met with the error "User avatar publication failed. The operation couldn't be completed. (TigaseSwift.PubSubError error 1.)"

To Reproduce Described in the documentation, tap "Choose avatar" and select a picture

Expected behavior The selected image is the avatar that'll be set.

Screenshots image

Details (please complete the following information):

  • Siskin Version: 7.0.1 (confirmed with screenshot) image

  • iOS version : 15.1

  • iPhone model : X

Additional context I own the server side of things. It's a prosody server version 0.11.11 on Debian Buster. Modules enabled related to avatar are the following:

  • pep_simple
  • http_pep_avatar
  • pep_vcard_avatar

Prosody modules are kept up to date with hg.

I digged a bit, and it seems you're using XEP-0060 for PubSub, is that correct for Siskin as well ?

Thanks.

Unknown commented 3 years ago

I guess you are referring to the issue discussed in the Tigase support channel and already fixed in 3b626606

The issue was caused by using 180x180 PNG for avatars which were rejected by ejabberd (and most likely by Prosody as well) due to the large size of the stanza.

This fix is scheduled to be released as a part of the next version (7.1).

Unknown commented 3 years ago

I guess you are referring to the issue discussed in the Tigase support channel and already fixed in 3b62660

Yeah I have seen this the other day and was wondering if it got any link to this issue. Thanks for confirming it ! xmpp rocks

I'll wait for next version to test if it works and keep Converse.js as a workaround for now since it uses vcard-temp and siskin understand it.

issue 1 of 1
Type
Bug
Issue Votes (0)
Watchers (0)
Reference
tigase/_clients/siskin-im#531
Please wait...
Page is in error, reload to recover