ai/at
1
0
This commit is contained in:
2026-03-22 12:34:29 +09:00
parent 210b1dea0a
commit 110af690d1
5 changed files with 31 additions and 16 deletions

View File

@@ -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 {

View File

@@ -1,6 +1,6 @@
--- a/src/view/shell/bottom-bar/BottomBar.tsx
+++ b/src/view/shell/bottom-bar/BottomBar.tsx
@@ -196,38 +196,40 @@
--- a/src/view/shell/bottom-bar/BottomBar.tsx 2026-03-22 12:16:35
+++ b/src/view/shell/bottom-bar/BottomBar.tsx 2026-03-22 12:17:01
@@ -199,40 +199,42 @@
accessibilityLabel={_(msg`Search`)}
accessibilityHint=""
/>
@@ -20,13 +20,15 @@
- )
- }
- onPress={onPressMessages}
- notificationCount={numUnreadMessages.numUnread}
- hasNew={numUnreadMessages.hasNew}
- notificationCount={
- aa.flags.chatDisabled ? undefined : numUnreadMessages.numUnread
- }
- hasNew={aa.flags.chatDisabled ? false : numUnreadMessages.hasNew}
- accessible={true}
- accessibilityRole="tab"
- accessibilityLabel={_(msg`Chat`)}
- accessibilityHint={
- numUnreadMessages.count > 0
- !aa.flags.chatDisabled && numUnreadMessages.count > 0
- ? _(
- plural(numUnreadMessages.numUnread ?? 0, {
- one: '# unread item',
@@ -36,7 +38,7 @@
- : ''
- }
- />
+ {currentAccount?.isSelfHosted && (
+ {!currentAccount?.isSelfHosted && (
+ <Btn
+ testID="bottomBarMessagesBtn"
+ icon={
@@ -53,13 +55,15 @@
+ )
+ }
+ onPress={onPressMessages}
+ notificationCount={numUnreadMessages.numUnread}
+ hasNew={numUnreadMessages.hasNew}
+ notificationCount={
+ aa.flags.chatDisabled ? undefined : numUnreadMessages.numUnread
+ }
+ hasNew={aa.flags.chatDisabled ? false : numUnreadMessages.hasNew}
+ accessible={true}
+ accessibilityRole="tab"
+ accessibilityLabel={_(msg`Chat`)}
+ accessibilityHint={
+ numUnreadMessages.count > 0
+ !aa.flags.chatDisabled && numUnreadMessages.count > 0
+ ? _(
+ plural(numUnreadMessages.numUnread ?? 0, {
+ one: '# unread item',

View File

@@ -35,7 +35,6 @@ PATCH_FILES_IOS=(
"020-social-app-ios-bypass-age-assurance.patch"
"021-social-app-ios-clean-feed.patch" # DiscoverFallback + Empty/End + PostFeed (merged 040)
"022-social-app-ios-bskyweb.patch" # bskyweb routes + templates (merged 025)
"023-social-app-ios-disable-dm.patch"
"024-social-app-ios-disable-external-services.patch"
"027-social-app-ios-remove-birthdate.patch"
"028-social-app-ios-remove-discover.patch" # Explore + Feeds (merged 029)