syncMessageTag method

dynamic syncMessageTag(
  1. String channelId
)

Implementation

syncMessageTag(String channelId) async {
  var lastActiveAt = await getLastActiveAt(
    Channel.stableName,
    channelId: channelId,
  );
  Event? res = await send(
    buildEvent(SyncModelMessageTag(
      lastUpdatedAt: lastActiveAt,
      channelId: channelId,
    )),
    waitResult: true,
    syncing: true,
  );
  if (res == null) {
    return false;
  }
  return true;
}