Fix request voice string

This commit is contained in:
Arne 2024-12-04 17:33:24 +01:00
parent 010eeeedf7
commit d8d2b7a6f7

View file

@ -716,7 +716,7 @@ public class MessageParser extends AbstractParser implements Consumer<im.convers
final String role = form.getValue("muc#role");
final String nick = form.getValue("muc#roomnick");
if ("http://jabber.org/protocol/muc#request".equals(form.getFormType()) && "participant".equals(role)) {
body = new LocalizedContent("" + nick + " " + R.string.is_requesting_to_speak, "en", 1);
body = new LocalizedContent("" + nick + " " + mXmppConnectionService.getString(R.string.is_requesting_to_speak), "en", 1);
}
}
}