parent
d8cab006c8
commit
ce1c5ec7f6
@ -1563,7 +1563,11 @@ Object.assign(converse, {
|
||||
initPlugins();
|
||||
registerGlobalEventHandlers();
|
||||
|
||||
try {
|
||||
!History.started && _converse.router.history.start();
|
||||
} catch (e) {
|
||||
log.error(e);
|
||||
}
|
||||
|
||||
if (api.settings.get("idle_presence_timeout") > 0) {
|
||||
api.listen.on('addClientFeatures', () => api.disco.own.features.add(Strophe.NS.IDLE));
|
||||
|
@ -24,7 +24,7 @@ export async function getHeadingStandaloneButton (promise_or_data) {
|
||||
`;
|
||||
}
|
||||
|
||||
async function clearMessages (chat) {
|
||||
export async function clearMessages (chat) {
|
||||
const result = confirm(__('Are you sure you want to clear the messages from this conversation?'));
|
||||
if (result === true) {
|
||||
await chat.clearMessages();
|
||||
|
Loading…
Reference in New Issue
Block a user