add chat
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
--- a/src/lib/constants.ts 2026-03-15 19:17:45
|
||||
+++ b/src/lib/constants.ts 2026-03-15 19:16:32
|
||||
--- a/src/lib/constants.ts 2026-03-22 12:31:56
|
||||
+++ b/src/lib/constants.ts 2026-03-22 12:29:49
|
||||
@@ -7,12 +7,12 @@
|
||||
export const LOCAL_DEV_SERVICE =
|
||||
Platform.OS === 'android' ? 'http://10.0.2.2:2583' : 'http://localhost:2583'
|
||||
@@ -95,7 +95,7 @@
|
||||
+
|
||||
+export function getDmServiceHeaders(serviceUrl?: string) {
|
||||
+ const chatDid = isSelfHostedService(serviceUrl)
|
||||
+ ? CHAT_PROXY_DID
|
||||
+ ? PUBLIC_APPVIEW_DID
|
||||
+ : OFFICIAL_CHAT_DID
|
||||
+ return {
|
||||
+ 'atproto-proxy': `${chatDid}#bsky_chat`,
|
||||
@@ -116,8 +116,6 @@
|
||||
community: `https://bsky.social/about/support/community-guidelines`,
|
||||
communityDeprecated: `https://bsky.social/about/support/community-guidelines-deprecated`,
|
||||
}
|
||||
diff --git a/src/lib/api/feed/home.ts b/src/lib/api/feed/home.ts
|
||||
index 7a0d72d91..93554dc3e 100644
|
||||
--- a/src/lib/api/feed/home.ts
|
||||
+++ b/src/lib/api/feed/home.ts
|
||||
@@ -45,7 +45,7 @@ export class HomeFeedAPI implements FeedAPI {
|
||||
|
||||
Reference in New Issue
Block a user