diff --git a/OpenIMSDK.podspec b/OpenIMSDK.podspec index 62a24b7..8eba77b 100644 --- a/OpenIMSDK.podspec +++ b/OpenIMSDK.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'OpenIMSDK' - s.version = '3.8.2+1' + s.version = '3.8.3' s.summary = 'Open-IM-SDK' # This description is used to generate tags and improve search results. @@ -77,6 +77,6 @@ Pod::Spec.new do |s| s.static_framework = true - s.dependency 'OpenIMSDKCore', '3.8.2' + s.dependency 'OpenIMSDKCore', '3.8.3' s.dependency 'MJExtension' end diff --git a/OpenIMSDK/Model/OIMSearchParam.h b/OpenIMSDK/Model/OIMSearchParam.h index 8458737..d235290 100644 --- a/OpenIMSDK/Model/OIMSearchParam.h +++ b/OpenIMSDK/Model/OIMSearchParam.h @@ -125,7 +125,7 @@ NS_ASSUME_NONNULL_BEGIN @interface OIMGetAdvancedHistoryMessageListParam : OIMGetMessageOptions -@property (nonatomic, assign) NSInteger lastMinSeq; +@property (nonatomic, assign) OIMGetHistoryViewType viewType; @end diff --git a/OpenIMSDK/Utils/OIMDefine.h b/OpenIMSDK/Utils/OIMDefine.h index fa3b184..f7d8511 100644 --- a/OpenIMSDK/Utils/OIMDefine.h +++ b/OpenIMSDK/Utils/OIMDefine.h @@ -215,4 +215,9 @@ typedef NS_ENUM(NSInteger, OIMLoginStatus) { OIMLoginStatusLogged = 3, }; +typedef NS_ENUM(NSInteger, OIMGetHistoryViewType) { + OIMGetHistoryViewTypeHistory = 0, + OIMGetHistoryViewTypeSearch = 1 +}; + #endif /* IMDefine_h */