We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c430ef commit dac62fcCopy full SHA for dac62fc
src/renderer/utils/helpers.ts
@@ -27,10 +27,8 @@ export function isEnterpriseServerHost(hostname: Hostname): boolean {
27
export function generateNotificationReferrerId(
28
notification: Notification,
29
): string {
30
- const buffer = Buffer.from(
31
- `018:NotificationThread${notification.id}:${notification.account.user.id}`,
32
- );
33
- return buffer.toString('base64');
+ const raw = `018:NotificationThread${notification.id}:${notification.account.user.id}`;
+ return btoa(raw);
34
}
35
36
export function getCheckSuiteUrl(notification: Notification): Link {
0 commit comments