Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.

Commit dba6756

Browse files
committed
used confrim dialog for room invitation instead of confirm
1 parent 1984428 commit dba6756

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

extension/inverse/dist/converse.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61187,10 +61187,10 @@ converse_core.plugins.add('converse-muc', {
6118761187
// Invite request might come from someone not your roster list
6118861188
contact = contact ? contact.getDisplayName() : converse_muc_Strophe.getNodeFromJid(from);
6118961189

61190-
if (!reason) {
61191-
result = confirm(__("%1$s has invited you to join a groupchat: %2$s", contact, room_jid));
61190+
if (!reason) { // BAO
61191+
result = await _converse.api.confirm(__("%1$s has invited you to join a groupchat: %2$s", contact, room_jid), []);
6119261192
} else {
61193-
result = confirm(__('%1$s has invited you to join a groupchat: %2$s, and left the following reason: "%3$s"', contact, room_jid, reason));
61193+
result = await _converse.api.confirm(__('%1$s has invited you to join a groupchat: %2$s, and left the following reason: "%3$s"', contact, room_jid, reason), []);
6119461194
}
6119561195
}
6119661196

0 commit comments

Comments
 (0)