The code is passing the hostname of the Mastodon account #3

Closed
opened 2022-08-21 10:37:14 +02:00 by spla · 0 comments
Owner

Bot gets always the hostname of the Mastodon account when Ejabberd's local vhost can be different. In ex. Mastodon account is spla@soc.catala.digitalbut Ejabberd's local vhost is catala.digital.
This provokes bot's wrong processing of keywords register, unregister and sessions because the code is passing Mastodon account's hostname to Ejabberd's API when must be local vhost of Ejabberd itself.

Bot gets always the hostname of the Mastodon account when Ejabberd's local vhost can be different. In ex. Mastodon account is `spla@soc.catala.digital`but Ejabberd's local vhost is `catala.digital`. This provokes bot's wrong processing of keywords `register`, `unregister` and `sessions` because the code is passing Mastodon account's hostname to Ejabberd's API when must be local vhost of Ejabberd itself.
spla closed this issue 2022-08-21 10:52:41 +02:00
spla added the
bug
label 2022-08-21 10:59:20 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: spla/xmppbot.py#3
No description provided.