mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-02 18:25:12 +00:00
Add lbry.getSessionInfo()
This commit is contained in:
parent
18b8712bf8
commit
735444f022
1 changed files with 3 additions and 0 deletions
|
@ -310,6 +310,9 @@ lbry.setClientSetting = function(setting, value) {
|
||||||
return localStorage.setItem('setting_' + setting, JSON.stringify(value));
|
return localStorage.setItem('setting_' + setting, JSON.stringify(value));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lbry.getSessionInfo = function(callback) {
|
||||||
|
lbry.call('get_lbry_session_info', {}, callback);
|
||||||
|
}
|
||||||
|
|
||||||
lbry.reportBug = function(message, callback) {
|
lbry.reportBug = function(message, callback) {
|
||||||
lbry.call('upload_log', {
|
lbry.call('upload_log', {
|
||||||
|
|
Loading…
Add table
Reference in a new issue