add missing sframe method

This commit is contained in:
ansuz
2017-10-23 12:33:50 +02:00
parent c1d05a00ba
commit 288e141c1f
4 changed files with 16 additions and 2 deletions

View File

@@ -468,6 +468,14 @@ define([
});
});
});
sframeChan.on('Q_CONTACTS_REMOVE_FRIEND', function (curvePublic, cb) {
messenger.removeFriend(curvePublic, function (e, info) {
cb({
error: e,
data: info,
});
});
});
sframeChan.on('Q_CONTACTS_OPEN_FRIEND_CHANNEL', function (curvePublic, cb) {
messenger.openFriendChannel(curvePublic, function (e) {