The code is passing the hostname of the Mastodon account
#3
Closed
opened 7 months ago by spla
·
0 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. 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.