Skip to content

Commit 315b799

Browse files
committed
diable polls
1 parent 2fdc089 commit 315b799

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/webpage/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ if (window.location.pathname.startsWith("/channels")) {
442442
thisUser.makePoll();
443443
},
444444
{
445-
visible: () => !!thisUser.channelfocus?.hasPermission("SEND_POLLS"),
445+
//TODO re-enable this once polls is merged
446+
visible: () => false, //!!thisUser.channelfocus?.hasPermission("SEND_POLLS"),
446447
},
447448
);
448449
umenu.addButton(I18n.upload(), () => {

0 commit comments

Comments
 (0)