Skip to content

chatToUser > loggedInUser, how can you compare 2 user object? #1

@hughred22

Description

@hughred22

Sorry can not find a support forum for the book and I will ask question here for your source code (I can provide my purchase receipt if necessary).

I am reading Chapter 8 your Firebase messaging app. I do not get the getHash function in the Utils service. You do this:
if (chatToUser > loggedInUser)
But how can you compare 2 user object?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions