diff --git a/README.md b/README.md index e5dbf74..f8edaa4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # Social-Blind -a social app for the devfest19 hackathon +a social chat app for the devfest19 hackathon diff --git a/app/src/main/java/com/team7/socialblind/repo/DiscussionRepository.kt b/app/src/main/java/com/team7/socialblind/repo/DiscussionRepository.kt index c503471..fbe798a 100644 --- a/app/src/main/java/com/team7/socialblind/repo/DiscussionRepository.kt +++ b/app/src/main/java/com/team7/socialblind/repo/DiscussionRepository.kt @@ -80,7 +80,7 @@ class DiscussionRepository(private val sharedPreferences: SharedPreferences) { return databaseReference.child(DISCUSSION_ROOT).child(currentDiscussion).child(MESSAGES).push().submitMessage(text, userId) } private fun getUserId():String{ - return sharedPreferences.getString(UID ,"anonymous_00")!! + return sharedPreferences.getString(UID ,"anonymous_01")!! } private fun getCurrentDiscussionId():String{ return sharedPreferences.getString(CURRENT_DISSC , "0")!! @@ -254,7 +254,7 @@ class DiscussionRepository(private val sharedPreferences: SharedPreferences) { } } fun getOtherUserId():String{ - return sharedPreferences.getString(OTHER_USER_ID, "anonymous_01")!! + return sharedPreferences.getString(OTHER_USER_ID, "anonymous_00")!! } }