1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Can create countdown timers

This commit is contained in:
2020-04-25 08:23:52 +02:00
parent 60c135bf01
commit ba07247ec4
3 changed files with 58 additions and 1 deletions

View File

@ -153,6 +153,11 @@ class PostsHelper {
type: MediaType.parse("application/pdf")));
break;
case PostKind.COUNTDOWN:
request.addInt(
"time-end", (post.timeEnd.millisecondsSinceEpoch / 1000).floor());
break;
default:
throw Exception("Unsupported post type :" + post.kind.toString());
break;