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

Closed
opened 4 months ago by spla · 0 comments
spla commented 4 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 closed this issue 4 months ago
spla added the
bug
label 4 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Referència: spla/xmppbot.py#3
Loading…
There is no content yet.