pull/1137/head
Audric Ackermann 5 years ago
parent 1b39992e4a
commit 014b475af7
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -324,7 +324,9 @@ module.exports = {
async addFriendToNewClosedGroup(members, useSenderKeys) {
const [app, ...others] = members;
await app.client.element(ConversationPage.conversationButtonSection).click();
await app.client
.element(ConversationPage.conversationButtonSection)
.click();
await app.client.element(ConversationPage.createClosedGroupButton).click();
await this.setValueWrapper(
@ -567,7 +569,7 @@ module.exports = {
console.warn('NO PUBKEY');
response.writeHead(400, { 'Content-Type': 'text/html' });
response.end();
return;
return;
}
if (request.method === 'POST') {
@ -620,7 +622,9 @@ module.exports = {
},
async joinOpenGroup(app, openGroupUrl, name) {
await app.client.element(ConversationPage.conversationButtonSection).click();
await app.client
.element(ConversationPage.conversationButtonSection)
.click();
await app.client.element(ConversationPage.joinOpenGroupButton).click();
await this.setValueWrapper(

@ -39,7 +39,9 @@ describe('Open groups', function() {
);
// adding a second time the same open group
await app.client.element(ConversationPage.conversationButtonSection).click();
await app.client
.element(ConversationPage.conversationButtonSection)
.click();
await app.client.element(ConversationPage.joinOpenGroupButton).click();
await common.setValueWrapper(
@ -64,7 +66,9 @@ describe('Open groups', function() {
it('openGroup: can send message to open group', async () => {
// join dev-chat group
await app.client.element(ConversationPage.conversationButtonSection).click();
await app.client
.element(ConversationPage.conversationButtonSection)
.click();
await app.client.element(ConversationPage.joinOpenGroupButton).click();
await common.setValueWrapper(

@ -695,7 +695,9 @@ MessageSender.prototype = {
})
)) || [];
// filter out our primary pubkey if it was added.
sessionContactsSecondary = sessionContactsSecondary.filter(c => c.id !== primaryDeviceKey);
sessionContactsSecondary = sessionContactsSecondary.filter(
c => c.id !== primaryDeviceKey
);
const contactsSet = new Set([
...sessionContactsPrimary,
@ -707,10 +709,9 @@ MessageSender.prototype = {
return Promise.resolve();
}
libloki.api.debug.logContactSync(
'Triggering contact sync message with:',
[...contactsSet]
);
libloki.api.debug.logContactSync('Triggering contact sync message with:', [
...contactsSet,
]);
// We need to sync across 3 contacts at a time
// This is to avoid hitting storage server limit

Loading…
Cancel
Save