Skip to content
This repository was archived by the owner on Jul 21, 2020. It is now read-only.

Commit 064a734

Browse files
committed
Fixed an issue with double quotes in messages
1 parent c2271ab commit 064a734

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

BeamAPI.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "BeamAPI"
3-
s.version = "1.2.4"
3+
s.version = "1.2.5"
44
s.summary = "An interface to communicate with Beam's backend."
55
s.homepage = "https://github.com/WatchBeam/beam-client-swift"
66
s.license = "MIT"
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
99
s.requires_arc = true
1010
s.ios.deployment_target = "8.2"
1111
s.tvos.deployment_target = "9.0"
12-
s.source = { :git => "https://github.com/WatchBeam/beam-client-swift.git", :tag => "1.2.4" }
12+
s.source = { :git => "https://github.com/WatchBeam/beam-client-swift.git", :tag => "1.2.5" }
1313
s.source_files = "Pod/Classes/**/*"
1414

1515
s.dependency "Starscream", "~> 1.1"

Example/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- BeamAPI (1.0.0):
2+
- BeamAPI (1.2.4):
33
- Starscream (~> 1.1)
44
- SwiftyJSON (~> 2.3)
55
- Starscream (1.1.3)
@@ -13,7 +13,7 @@ EXTERNAL SOURCES:
1313
:path: "../"
1414

1515
SPEC CHECKSUMS:
16-
BeamAPI: 272e7903c6d89d84983448ead6cb7a42f90bea4a
16+
BeamAPI: 9afef11be931a2a12a0a6190da7a026fa72de02e
1717
Starscream: d662732354b40dd19ed1ece3e3c44c80b536b83c
1818
SwiftyJSON: 04ccea08915aa0109039157c7974cf0298da292a
1919

Pod/Classes/Models/Chat/ChatMessagePacket.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class ChatMessagePacket: ChatPacket, ChatSendable {
3131

3232
/// Initializes a chat message packet with a message string.
3333
public init(message: String) {
34-
messageText = message.stringByReplacingOccurrencesOfString("\"", withString: "\\\"")
34+
messageText = message
3535
super.init()
3636
}
3737

0 commit comments

Comments
 (0)