NCChatReaction.m 447 B

123456789101112131415161718
  1. /**
  2. * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: GPL-3.0-or-later
  4. */
  5. #import "NCChatReaction.h"
  6. @implementation NCChatReaction
  7. + (instancetype)initWithReaction:(NSString *)reaction andCount:(NSInteger)count
  8. {
  9. NCChatReaction *reactionObject = [[NCChatReaction alloc] init];
  10. reactionObject.reaction = reaction;
  11. reactionObject.count = count;
  12. return reactionObject;
  13. }
  14. @end