mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-14 17:07:35 +00:00
Misc fix of ... being wrongly interpreted by crappy Steam client as http
This commit is contained in:
parent
c5b0dad6ee
commit
6f075ec5c1
1 changed files with 4 additions and 4 deletions
|
@ -3453,8 +3453,8 @@ namespace ArchiSteamFarm {
|
|||
return;
|
||||
}
|
||||
|
||||
for (int i = 0; i < message.Length; i += MaxSteamMessageLength - 6) {
|
||||
string messagePart = (i > 0 ? "..." : "") + message.Substring(i, Math.Min(MaxSteamMessageLength - 6, message.Length - i)) + (MaxSteamMessageLength - 6 < message.Length - i ? "..." : "");
|
||||
for (int i = 0; i < message.Length; i += MaxSteamMessageLength - 2) {
|
||||
string messagePart = (i > 0 ? "…" : "") + message.Substring(i, Math.Min(MaxSteamMessageLength - 2, message.Length - i)) + (MaxSteamMessageLength - 2 < message.Length - i ? "…" : "");
|
||||
SteamFriends.SendChatRoomMessage(steamID, EChatEntryType.ChatMsg, messagePart);
|
||||
}
|
||||
}
|
||||
|
@ -3469,8 +3469,8 @@ namespace ArchiSteamFarm {
|
|||
return;
|
||||
}
|
||||
|
||||
for (int i = 0; i < message.Length; i += MaxSteamMessageLength - 6) {
|
||||
string messagePart = (i > 0 ? "..." : "") + message.Substring(i, Math.Min(MaxSteamMessageLength - 6, message.Length - i)) + (MaxSteamMessageLength - 6 < message.Length - i ? "..." : "");
|
||||
for (int i = 0; i < message.Length; i += MaxSteamMessageLength - 2) {
|
||||
string messagePart = (i > 0 ? "…" : "") + message.Substring(i, Math.Min(MaxSteamMessageLength - 2, message.Length - i)) + (MaxSteamMessageLength - 2 < message.Length - i ? "…" : "");
|
||||
SteamFriends.SendChatMessage(steamID, EChatEntryType.ChatMsg, messagePart);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue