aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/slack/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/slack/webview.js')
-rw-r--r--recipes/slack/webview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/slack/webview.js b/recipes/slack/webview.js
index 3064e79..23cede8 100644
--- a/recipes/slack/webview.js
+++ b/recipes/slack/webview.js
@@ -36,7 +36,7 @@ module.exports = Ferdi => {
36 countTeamIconCheck += 1; 36 countTeamIconCheck += 1;
37 37
38 if (bgUrl) { 38 if (bgUrl) {
39 Ferdi.ipcRenderer.sendToHost('avatar', bgUrl); 39 Ferdi.setAvatarImage(bgUrl);
40 } else if (countTeamIconCheck <= 5) { 40 } else if (countTeamIconCheck <= 5) {
41 setTimeout(() => { 41 setTimeout(() => {
42 getTeamIcon(countTeamIconCheck + 1); 42 getTeamIcon(countTeamIconCheck + 1);