diff options
Diffstat (limited to 'plugins/Matrix.hpp')
-rw-r--r-- | plugins/Matrix.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index ebaa166..568357a 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -410,16 +410,14 @@ namespace QuickMedia { // Dummy, only play one video. TODO: Play all videos in room, as related videos? class MatrixVideoPage : public VideoPage { public: - MatrixVideoPage(Program *program) : VideoPage(program) {} + MatrixVideoPage(Program *program) : VideoPage(program, "") {} const char* get_title() const override { return ""; } - std::unique_ptr<RelatedVideosPage> create_related_videos_page(Program*, const std::string&, const std::string&) override { + std::unique_ptr<RelatedVideosPage> create_related_videos_page(Program*) override { return nullptr; } std::unique_ptr<Page> create_channels_page(Program*, const std::string&) override { return nullptr; } - std::string get_url() override { return url; } - std::string url; }; class MatrixChatPage : public Page { |