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

Tancada
oberta 2022-08-21 10:37:14 +02:00 per spla · 0 comentaris
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 ha referenciat aquesta incidència en un commit 2022-08-21 10:52:41 +02:00
spla ha tancat aquesta incidència 2022-08-21 10:52:41 +02:00
spla ha afegit l'etiqueta
bug
2022-08-21 10:59:20 +02:00
Inicia sessió per a unir-te a aquesta conversa.
Sense Milestone
Ningún proyecto
Sense assignats
1 participants
Notificacions
Data de venciment
La fecha de vencimiento es inválida o está fuera de rango. Por favor utilice el formato 'aaaa-mm-dd'.

Sin fecha de vencimiento.

Dependències

Aquesta incidència no té cap dependència.

Referència: spla/xmppbot.py#3
Aún no existe contenido.