about summary refs log tree commit diff
path: root/src/state/models/notifications-view.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-09-26 13:38:37 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-09-26 13:38:37 -0500
commit2e352f383ec50cb45f39ed7b53c85fb6ea991bda (patch)
tree8232d2b158c7a34a9ff6b27482fd62427ed37018 /src/state/models/notifications-view.ts
parenta8c8286b88eae3e7db23555be90cb9673361be20 (diff)
downloadvoidsky-2e352f383ec50cb45f39ed7b53c85fb6ea991bda.tar.zst
A few client fixes
Diffstat (limited to 'src/state/models/notifications-view.ts')
-rw-r--r--src/state/models/notifications-view.ts10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/state/models/notifications-view.ts b/src/state/models/notifications-view.ts
index dc372ab55..0ee5fd81b 100644
--- a/src/state/models/notifications-view.ts
+++ b/src/state/models/notifications-view.ts
@@ -40,29 +40,27 @@ export class NotificationsViewItemModel
 
   get isLike() {
     return (
-      hasProp(this.record, '$type') &&
-      this.record.$type === 'blueskyweb.xyz:Like'
+      hasProp(this.record, '$type') && this.record.$type === 'todo.social.like'
     )
   }
 
   get isRepost() {
     return (
       hasProp(this.record, '$type') &&
-      this.record.$type === 'blueskyweb.xyz:Repost'
+      this.record.$type === 'todo.social.repost'
     )
   }
 
   get isReply() {
     return (
-      hasProp(this.record, '$type') &&
-      this.record.$type === 'blueskyweb.xyz:Post'
+      hasProp(this.record, '$type') && this.record.$type === 'todo.social.post'
     )
   }
 
   get isFollow() {
     return (
       hasProp(this.record, '$type') &&
-      this.record.$type === 'blueskyweb.xyz:Follow'
+      this.record.$type === 'todo.social.follow'
     )
   }