Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #247 from PeterStrob/feat/connected_message
Browse files Browse the repository at this point in the history
feat: added connected message type processing for toolbox UI
  • Loading branch information
dbluhm authored Dec 14, 2021
2 parents db9a162 + e05c9a9 commit 178daf2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/renderer/components/ConnectionsNew/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ export const metadata = {
update: protocol + '/update',
delete: protocol + '/delete',
deleted: protocol + '/deleted',
receive_invitation: protocol + '/receive-invitation'
receive_invitation: protocol + '/receive-invitation',
connected: protocol + '/connected'
}
};
Expand Down Expand Up @@ -110,6 +111,8 @@ export const shared = {
(share, msg) => share.fetch_connections(),
[metadata.types.deleted]:
(share, msg) => share.fetch_connections(),
[metadata.types.connected]:
(share, msg) => share.fetch_connections(),
},
methods: {
fetch_connections: ({send}) => {
Expand Down Expand Up @@ -189,9 +192,6 @@ export default {
this.send_message(receive_invite_msg);
this.invite_form.invitation = "";
this.invite_form.mediation_id = "";
setTimeout(() => {
return this.fetch_connections();
}, 4000);
},
mediator_name: function(mediator) {
let connection_label = 'Unknown';
Expand Down

0 comments on commit 178daf2

Please sign in to comment.