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

Closed
opened 7 months ago by spla · 0 comments
spla commented 7 months ago
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 referenced this issue from a commit 7 months ago
spla closed this issue 7 months ago
spla added the
bug
label 7 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
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
Loading…
There is no content yet.