Feature: Add online status to each user (#452)

* Feature: Add online status to each user
* Add OnlineStatusable, add availability status to thumbnail
This commit is contained in:
Pranav Raj S
2020-02-02 22:34:16 +05:30
committed by GitHub
parent 1f4703d25d
commit 0b31e14132
14 changed files with 106 additions and 14 deletions

View File

@@ -20,6 +20,7 @@
class Contact < ApplicationRecord
include Pubsubable
include Avatarable
include AvailabilityStatusable
validates :account_id, presence: true
belongs_to :account