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

@@ -66,6 +66,11 @@ define([], function () {
//cb({ error: err, data: data, });
});
};
messenger.removeFriend = function (curvePublic, cb) {
sFrameChan.query('Q_CONTACTS_REMOVE_FRIEND', curvePublic, function (err, data) {
cb(err || data.error, data.data);
});
};
messenger.openFriendChannel = function (curvePublic, cb) {
sFrameChan.query('Q_CONTACTS_OPEN_FRIEND_CHANNEL', curvePublic, function (err, data) {
cb(err || data.error);