mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Group image and video metadata in specialised structs (#3518)
This commit is contained in:
@@ -150,8 +150,8 @@ class LoggingTests: XCTestCase {
|
||||
sender: .init(id: "sender"),
|
||||
content: .init(filename: "ImageString",
|
||||
caption: "ImageString",
|
||||
source: MediaSourceProxy(url: .picturesDirectory, mimeType: "image/gif"),
|
||||
thumbnailSource: nil))
|
||||
imageInfo: .mockImage,
|
||||
thumbnailInfo: nil))
|
||||
let videoMessage = VideoRoomTimelineItem(id: .randomEvent,
|
||||
timestamp: "",
|
||||
isOutgoing: false,
|
||||
@@ -161,9 +161,8 @@ class LoggingTests: XCTestCase {
|
||||
sender: .init(id: "sender"),
|
||||
content: .init(filename: "VideoString",
|
||||
caption: "VideoString",
|
||||
duration: 0,
|
||||
source: nil,
|
||||
thumbnailSource: nil))
|
||||
videoInfo: .mockVideo,
|
||||
thumbnailInfo: nil))
|
||||
let fileMessage = FileRoomTimelineItem(id: .randomEvent,
|
||||
timestamp: "",
|
||||
isOutgoing: false,
|
||||
|
||||
Reference in New Issue
Block a user