diff options
author | Vijay A <avijayr@protonmail.com> | 2021-09-27 05:25:50 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-09-27 05:25:50 +0530 |
commit | a86245afc0c4aaca259d5c3f014794dbc4d913de (patch) | |
tree | 4b3fe945bafca56b5ea71975c75e2eb513575ac6 /recipes/pleroma/webview.js | |
parent | refactor: add 'serviceId' when invoking 'clearStorageData' (#726) (diff) | |
download | ferdium-recipes-a86245afc0c4aaca259d5c3f014794dbc4d913de.tar.gz ferdium-recipes-a86245afc0c4aaca259d5c3f014794dbc4d913de.tar.zst ferdium-recipes-a86245afc0c4aaca259d5c3f014794dbc4d913de.zip |
refactor: remove references 'Ferdi.ipcRenderer' in recipes - create an abstraction layer instead for better maintainance
Diffstat (limited to 'recipes/pleroma/webview.js')
-rw-r--r-- | recipes/pleroma/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/pleroma/webview.js b/recipes/pleroma/webview.js index 557f318..da76955 100644 --- a/recipes/pleroma/webview.js +++ b/recipes/pleroma/webview.js | |||
@@ -151,7 +151,7 @@ module.exports = Ferdi => { | |||
151 | Ferdi.loop(() => { | 151 | Ferdi.loop(() => { |
152 | getMessages(); | 152 | getMessages(); |
153 | if (updater.update()) { | 153 | if (updater.update()) { |
154 | Ferdi.ipcRenderer.sendToHost('avatar', updater.toDataURL()); | 154 | Ferdi.setAvatarImage(updater.toDataURL()); |
155 | } | 155 | } |
156 | }); | 156 | }); |
157 | }, (e) => { | 157 | }, (e) => { |