Skip to content

Commit 0abbcf0

Browse files
committed
Fixed Issue #5
1 parent 6fccaee commit 0abbcf0

17 files changed

+7
-8
lines changed
-29 KB
Binary file not shown.

SyncPlayWPF/SyncPlayWPF/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
// You can specify all the values or you can default the Build and Revision Numbers
5252
// by using the '*' as shown below:
5353
// [assembly: AssemblyVersion("1.0.*")]
54-
[assembly: AssemblyVersion("2021.201.63.0")]
55-
[assembly: AssemblyFileVersion("2021.201.63.0")]
54+
[assembly: AssemblyVersion("2021.201.65.0")]
55+
[assembly: AssemblyFileVersion("2021.201.65.0")]

SyncPlayWPF/SyncPlayWPF/SyncPlay/SyncPlayClient.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,7 @@ private User GetUserFromDictionary(string username) {
224224
if (UserDictionary.TryGetValue(username, out u)) {
225225
return u;
226226
} else {
227-
u = new User();
228-
u.Username = username;
229-
return u;
227+
return this.AddNewUser(username);
230228
}
231229
}
232230

@@ -252,6 +250,7 @@ private void NewIncomingMessage(NetworkClient sender, string message) {
252250
LocalUser.IsReady = false;
253251
}
254252

253+
// Parse through a list of all the users and what they're playing...
255254
if (jobj.ContainsKey("List")) {
256255
foreach (var room in jobj.Children()) {
257256
foreach (var user in room.Children()) {

SyncPlayWPF/SyncPlayWPF/SyncPlayWPF.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<SubType>Designer</SubType>
7878
</ApplicationDefinition>
7979
<Compile Include="CustomControls\MediaFileControl.cs" />
80-
<Compile Include="SyncPlay\Client.cs" />
80+
<Compile Include="SyncPlay\SyncPlayClient.cs" />
8181
<Compile Include="SyncPlay\EventArgs\ChatMessageEventArgs.cs" />
8282
<Compile Include="SyncPlay\EventArgs\LocalSetFileEventArgs.cs" />
8383
<Compile Include="SyncPlay\EventArgs\LocalStateChangeEventArgs.cs" />
0 Bytes
Binary file not shown.
-2 KB
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)