Skip to content

Commit 01672bb

Browse files
committed
update depend HyphenateChat 4.6.0 change
1 parent b2ba9b9 commit 01672bb

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

Example/ChatroomUIKit.xcodeproj/project.pbxproj

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@
156156
607FACCC1AFB9204008FA782 /* Sources */,
157157
607FACCD1AFB9204008FA782 /* Frameworks */,
158158
607FACCE1AFB9204008FA782 /* Resources */,
159-
C5E2A18C5359F868CA30B270 /* [CP] Embed Pods Frameworks */,
160-
629B030745522DF453180F2E /* [CP] Copy Pods Resources */,
159+
55F938F63F3154969D880AB8 /* [CP] Embed Pods Frameworks */,
160+
8DE911A27AE91596D5705576 /* [CP] Copy Pods Resources */,
161161
);
162162
buildRules = (
163163
);
@@ -241,40 +241,40 @@
241241
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
242242
showEnvVarsInLog = 0;
243243
};
244-
629B030745522DF453180F2E /* [CP] Copy Pods Resources */ = {
244+
55F938F63F3154969D880AB8 /* [CP] Embed Pods Frameworks */ = {
245245
isa = PBXShellScriptBuildPhase;
246246
buildActionMask = 2147483647;
247247
files = (
248248
);
249249
inputPaths = (
250-
"${PODS_ROOT}/Target Support Files/Pods-ChatroomUIKit_Example/Pods-ChatroomUIKit_Example-resources.sh",
251-
"${PODS_ROOT}/../../Sources/ChatroomUIKit/Classes/UI/Resources/ChatRoomResource.bundle",
250+
"${PODS_ROOT}/Target Support Files/Pods-ChatroomUIKit_Example/Pods-ChatroomUIKit_Example-frameworks.sh",
251+
"${PODS_XCFRAMEWORKS_BUILD_DIR}/HyphenateChat/HyphenateChat.framework/HyphenateChat",
252252
);
253-
name = "[CP] Copy Pods Resources";
253+
name = "[CP] Embed Pods Frameworks";
254254
outputPaths = (
255-
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ChatRoomResource.bundle",
255+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/HyphenateChat.framework",
256256
);
257257
runOnlyForDeploymentPostprocessing = 0;
258258
shellPath = /bin/sh;
259-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ChatroomUIKit_Example/Pods-ChatroomUIKit_Example-resources.sh\"\n";
259+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ChatroomUIKit_Example/Pods-ChatroomUIKit_Example-frameworks.sh\"\n";
260260
showEnvVarsInLog = 0;
261261
};
262-
C5E2A18C5359F868CA30B270 /* [CP] Embed Pods Frameworks */ = {
262+
8DE911A27AE91596D5705576 /* [CP] Copy Pods Resources */ = {
263263
isa = PBXShellScriptBuildPhase;
264264
buildActionMask = 2147483647;
265265
files = (
266266
);
267267
inputPaths = (
268-
"${PODS_ROOT}/Target Support Files/Pods-ChatroomUIKit_Example/Pods-ChatroomUIKit_Example-frameworks.sh",
269-
"${PODS_XCFRAMEWORKS_BUILD_DIR}/HyphenateChat/HyphenateChat.framework/HyphenateChat",
268+
"${PODS_ROOT}/Target Support Files/Pods-ChatroomUIKit_Example/Pods-ChatroomUIKit_Example-resources.sh",
269+
"${PODS_ROOT}/../../Sources/ChatroomUIKit/Classes/UI/Resources/ChatRoomResource.bundle",
270270
);
271-
name = "[CP] Embed Pods Frameworks";
271+
name = "[CP] Copy Pods Resources";
272272
outputPaths = (
273-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/HyphenateChat.framework",
273+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ChatRoomResource.bundle",
274274
);
275275
runOnlyForDeploymentPostprocessing = 0;
276276
shellPath = /bin/sh;
277-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ChatroomUIKit_Example/Pods-ChatroomUIKit_Example-frameworks.sh\"\n";
277+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ChatroomUIKit_Example/Pods-ChatroomUIKit_Example-resources.sh\"\n";
278278
showEnvVarsInLog = 0;
279279
};
280280
/* End PBXShellScriptBuildPhase section */

Sources/ChatroomUIKit/Classes/Service/Implement/ChatroomServiceImplement.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,9 @@ extension ChatroomServiceImplement: ChatEventsListener {
328328
public func messagesInfoDidRecall(_ aRecallMessagesInfo: [RecallInfo]) {
329329
for info in aRecallMessagesInfo {
330330
for response in self.responseDelegates.allObjects {
331-
response.onMessageRecalled(roomId: info.recallMessage.to, message: info.recallMessage, by: info.recallBy)
331+
if let recallMessage = info.recallMessage {
332+
response.onMessageRecalled(roomId: recallMessage.to, message: recallMessage, by: info.recallBy)
333+
}
332334
}
333335
}
334336
}

0 commit comments

Comments
 (0)