mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 12:25:16 +00:00
Deprecate movies system
This commit is contained in:
@ -200,21 +200,10 @@ ComunicWeb.components.account.export.worker = {
|
||||
post.comments.forEach(parseComment);
|
||||
}
|
||||
|
||||
/**
|
||||
* Parse a movie to find potential files to download
|
||||
*
|
||||
* @param {Object} info Information about the movie to parse
|
||||
*/
|
||||
var parseMovie = function(info){
|
||||
if(info.url != null)
|
||||
if(!files.includes(info.url))
|
||||
files.push(info.url);
|
||||
}
|
||||
|
||||
/**
|
||||
* Parse a conversation message to find potential files to download
|
||||
*
|
||||
* @param {Object} info Information about the movie to parse
|
||||
* @param {Object} info Information about the conversation to parse
|
||||
*/
|
||||
var parseConversationMessage = function(info){
|
||||
if(info.image_path != null)
|
||||
@ -233,9 +222,6 @@ ComunicWeb.components.account.export.worker = {
|
||||
//Comments
|
||||
data.comments.forEach(parseComment);
|
||||
|
||||
//Movie
|
||||
data.movies.forEach(parseMovie);
|
||||
|
||||
//Conversation message
|
||||
//* All from users
|
||||
data.all_conversation_messages.forEach(parseConversationMessage);
|
||||
|
Reference in New Issue
Block a user