mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Can respond to friendship requests from memberships bar
This commit is contained in:
@ -8,12 +8,12 @@ import 'package:meta/meta.dart';
|
||||
/// @author Pierre HUBERT
|
||||
|
||||
class Friend extends CacheModel implements Comparable<Friend> {
|
||||
final bool accepted;
|
||||
bool accepted;
|
||||
final int lastActive;
|
||||
final bool following;
|
||||
final bool canPostTexts;
|
||||
|
||||
const Friend({
|
||||
Friend({
|
||||
@required int id,
|
||||
@required this.accepted,
|
||||
@required this.lastActive,
|
||||
@ -22,6 +22,8 @@ class Friend extends CacheModel implements Comparable<Friend> {
|
||||
}) : assert(id != null),
|
||||
assert(accepted != null),
|
||||
assert(lastActive != null),
|
||||
assert(following != null),
|
||||
assert(canPostTexts != null),
|
||||
super(id: id);
|
||||
|
||||
/// Check out whether friend is connected or not
|
||||
|
Reference in New Issue
Block a user