Skip to content

Commit

Permalink
Merge pull request #426 from zapcannon87/master
Browse files Browse the repository at this point in the history
fix: open all messageType
  • Loading branch information
zapcannon87 authored Jun 15, 2021
2 parents 25a99db + 0e2a29c commit 10be306
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17.8.0
17.8.1
2 changes: 1 addition & 1 deletion LeanCloud.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'LeanCloud'
s.version = '17.8.0'
s.version = '17.8.1'
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.summary = 'LeanCloud Swift SDK'
s.homepage = 'https://leancloud.cn/'
Expand Down
2 changes: 1 addition & 1 deletion Sources/Foundation/Version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
import Foundation

public struct Version {
public static let versionString = "17.8.0"
public static let versionString = "17.8.1"
}
12 changes: 6 additions & 6 deletions Sources/RTM/IMMessage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ open class IMCategorizedMessage: IMMessage, IMMessageCategorizing {
/// IM Text Message
open class IMTextMessage: IMCategorizedMessage {

public class override var messageType: MessageType {
open class override var messageType: MessageType {
return ReservedType.text.rawValue
}

Expand Down Expand Up @@ -649,7 +649,7 @@ open class IMTextMessage: IMCategorizedMessage {
/// IM Image Message
open class IMImageMessage: IMCategorizedMessage {

public class override var messageType: MessageType {
open class override var messageType: MessageType {
return ReservedType.image.rawValue
}

Expand Down Expand Up @@ -691,7 +691,7 @@ open class IMImageMessage: IMCategorizedMessage {
/// IM Audio Message
open class IMAudioMessage: IMCategorizedMessage {

public class override var messageType: MessageType {
open class override var messageType: MessageType {
return ReservedType.audio.rawValue
}

Expand Down Expand Up @@ -728,7 +728,7 @@ open class IMAudioMessage: IMCategorizedMessage {
/// IM Video Message
open class IMVideoMessage: IMCategorizedMessage {

public class override var messageType: MessageType {
open class override var messageType: MessageType {
return ReservedType.video.rawValue
}

Expand Down Expand Up @@ -765,7 +765,7 @@ open class IMVideoMessage: IMCategorizedMessage {
/// IM File Message
open class IMFileMessage: IMCategorizedMessage {

public class override var messageType: MessageType {
open class override var messageType: MessageType {
return ReservedType.file.rawValue
}

Expand Down Expand Up @@ -797,7 +797,7 @@ open class IMFileMessage: IMCategorizedMessage {
/// IM Location Message
open class IMLocationMessage: IMCategorizedMessage {

public class override var messageType: MessageType {
open class override var messageType: MessageType {
return ReservedType.location.rawValue
}

Expand Down

0 comments on commit 10be306

Please sign in to comment.