File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/src/main/kotlin/org/fossify/calendar Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2126,7 +2126,7 @@ class EventActivity : SimpleActivity() {
21262126 val currentCalendar =
21272127 calDAVHelper.getCalDAVCalendars(" " , true ).firstOrNull { it.id == mEventCalendarId }
21282128 mAttendees.forEach {
2129- it.isMe = it.email == currentCalendar?.ownerName
2129+ it.isMe = it.email != " " && it.email == currentCalendar?.ownerName
21302130 }
21312131
21322132 mAttendees.sortWith(
Original file line number Diff line number Diff line change @@ -675,7 +675,7 @@ class CalDAVHelper(val context: Context) {
675675 email = email,
676676 status = cursor.getIntValue(Attendees .ATTENDEE_STATUS ),
677677 photoUri = " " ,
678- isMe = email == calendar.ownerName,
678+ isMe = email != " " && email == calendar.ownerName,
679679 relationship = cursor.getIntValue(Attendees .ATTENDEE_RELATIONSHIP )
680680 )
681681 attendees.add(attendee)
You can’t perform that action at this time.
0 commit comments