The code is passing the hostname of the Mastodon account #3
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: spla/xmppbot.py#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 iscatala.digital
.This provokes bot's wrong processing of keywords
register
,unregister
andsessions
because the code is passing Mastodon account's hostname to Ejabberd's API when must be local vhost of Ejabberd itself.